uuids 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1397,3 +1397,1566 @@ Migrating to CreateCities (20141017081115)
1397
1397
   (0.0ms) commit transaction
1398
1398
   (0.0ms) begin transaction
1399
1399
   (0.0ms) rollback transaction
1400
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1401
+  (5.4ms) DELETE FROM "uuids_uuids";
1402
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1403
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
1404
+  (3.2ms) DELETE FROM "records";
1405
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1406
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
1407
+  (2.8ms) DELETE FROM "cities";
1408
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1409
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
1410
+  (0.1ms) begin transaction
1411
+  (0.1ms) commit transaction
1412
+  (0.1ms) begin transaction
1413
+  (0.1ms) rollback transaction
1414
+  (0.1ms) begin transaction
1415
+  (0.0ms) commit transaction
1416
+  (0.0ms) begin transaction
1417
+  (0.1ms) SAVEPOINT active_record_1
1418
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:46:29.194462"], ["updated_at", "2014-10-29 19:46:29.194462"]]
1419
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1420
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "2383c7ab-ae99-412c-aaee-feb0763747b5"]]
1421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1422
+  (0.2ms) rollback transaction
1423
+  (0.0ms) begin transaction
1424
+  (0.0ms) commit transaction
1425
+  (0.0ms) begin transaction
1426
+  (0.1ms) SAVEPOINT active_record_1
1427
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:46:29.211669"], ["updated_at", "2014-10-29 19:46:29.211669"]]
1428
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1429
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "cf7f831c-2b82-4188-9184-739fce4fd7b7"]]
1430
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1431
+ SQL (0.0ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "75a70973-3221-47ee-9ca7-d4269bd867a8"]]
1432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1433
+  (0.2ms) rollback transaction
1434
+  (0.0ms) begin transaction
1435
+  (0.0ms) commit transaction
1436
+  (0.0ms) begin transaction
1437
+  (0.0ms) SAVEPOINT active_record_1
1438
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:46:29.219044"], ["updated_at", "2014-10-29 19:46:29.219044"]]
1439
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1440
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "fea5bfe2-0d01-4e59-899e-12668edc0d91"]]
1441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1442
+  (0.2ms) SAVEPOINT active_record_1
1443
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1444
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1445
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1446
+  (0.0ms) SAVEPOINT active_record_1
1447
+ 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"]]
1448
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
1449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1450
+  (0.1ms) rollback transaction
1451
+  (0.1ms) begin transaction
1452
+  (0.0ms) commit transaction
1453
+  (0.0ms) begin transaction
1454
+  (0.0ms) SAVEPOINT active_record_1
1455
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:46:29.273475"], ["updated_at", "2014-10-29 19:46:29.273475"]]
1456
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1457
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "dcebaaa2-d60e-46c2-aa0a-c2127ca968ad"]]
1458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1459
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1460
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1461
+ 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"]]
1462
+  (0.2ms) rollback transaction
1463
+  (0.0ms) begin transaction
1464
+  (0.0ms) commit transaction
1465
+  (0.0ms) begin transaction
1466
+  (0.0ms) SAVEPOINT active_record_1
1467
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:46:29.283223"], ["updated_at", "2014-10-29 19:46:29.283223"]]
1468
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1469
+ SQL (0.4ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "297ff65f-1964-4443-9a8e-9f818989547f"]]
1470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1471
+  (0.1ms) SAVEPOINT active_record_1
1472
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1473
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "78053f55-039a-425f-91c3-52c6edd7f9f0"]]
1474
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1475
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1476
+ 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"]]
1477
+ 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" IN ('297ff65f-1964-4443-9a8e-9f818989547f', '78053f55-039a-425f-91c3-52c6edd7f9f0')
1478
+  (0.2ms) rollback transaction
1479
+  (0.0ms) begin transaction
1480
+  (0.0ms) commit transaction
1481
+  (0.0ms) begin transaction
1482
+  (0.0ms) rollback transaction
1483
+  (0.0ms) begin transaction
1484
+  (0.0ms) commit transaction
1485
+  (0.0ms) begin transaction
1486
+  (0.0ms) SAVEPOINT active_record_1
1487
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:46:29.306423"], ["updated_at", "2014-10-29 19:46:29.306423"]]
1488
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1489
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "49c6cb14-7a92-41b0-8c46-0b4a65ae8842"]]
1490
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1491
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1492
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1493
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1494
+  (0.2ms) rollback transaction
1495
+  (0.0ms) begin transaction
1496
+  (0.0ms) commit transaction
1497
+  (0.0ms) begin transaction
1498
+  (0.0ms) rollback transaction
1499
+  (0.0ms) begin transaction
1500
+  (0.0ms) commit transaction
1501
+  (0.0ms) begin transaction
1502
+  (0.0ms) rollback transaction
1503
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1504
+  (4.7ms) DELETE FROM "uuids_uuids";
1505
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1506
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
1507
+  (2.7ms) DELETE FROM "records";
1508
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1509
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
1510
+  (2.8ms) DELETE FROM "cities";
1511
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1512
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
1513
+  (0.1ms) begin transaction
1514
+  (0.1ms) commit transaction
1515
+  (0.0ms) begin transaction
1516
+  (0.0ms) SAVEPOINT active_record_1
1517
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:50:39.596881"], ["updated_at", "2014-10-29 19:50:39.596881"]]
1518
+ City Load (0.3ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1519
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "12a00a33-b811-49fe-a52a-a2c4c497f4d8"]]
1520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1521
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1522
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1523
+ 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"]]
1524
+  (0.4ms) rollback transaction
1525
+  (0.1ms) begin transaction
1526
+  (0.1ms) commit transaction
1527
+  (0.1ms) begin transaction
1528
+  (0.1ms) SAVEPOINT active_record_1
1529
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:50:39.644375"], ["updated_at", "2014-10-29 19:50:39.644375"]]
1530
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1531
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "346d27cb-8c7e-4e74-af6f-a609466df9dd"]]
1532
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1533
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "9756c720-c0d5-425b-af73-4e7959768d6e"]]
1534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1535
+  (0.2ms) rollback transaction
1536
+  (0.0ms) begin transaction
1537
+  (0.0ms) commit transaction
1538
+  (0.0ms) begin transaction
1539
+  (0.0ms) SAVEPOINT active_record_1
1540
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:50:39.653338"], ["updated_at", "2014-10-29 19:50:39.653338"]]
1541
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1542
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "7b8f5d54-e411-4a38-95ef-5b5b1faa024f"]]
1543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1544
+  (0.0ms) SAVEPOINT active_record_1
1545
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1546
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "edd07710-ddf8-440f-895b-be1ef17b809e"]]
1547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1548
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1549
+ 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"]]
1550
+ City Load (0.3ms) 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" IN ('7b8f5d54-e411-4a38-95ef-5b5b1faa024f', 'edd07710-ddf8-440f-895b-be1ef17b809e')
1551
+  (0.4ms) rollback transaction
1552
+  (0.1ms) begin transaction
1553
+  (0.1ms) commit transaction
1554
+  (0.1ms) begin transaction
1555
+  (0.1ms) SAVEPOINT active_record_1
1556
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:50:39.673155"], ["updated_at", "2014-10-29 19:50:39.673155"]]
1557
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1558
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "9ac83d5d-d3f7-45b4-a9d5-5cc8075e358a"]]
1559
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1560
+  (0.1ms) rollback transaction
1561
+  (0.0ms) begin transaction
1562
+  (0.0ms) commit transaction
1563
+  (0.0ms) begin transaction
1564
+  (0.0ms) SAVEPOINT active_record_1
1565
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:50:39.681410"], ["updated_at", "2014-10-29 19:50:39.681410"]]
1566
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1567
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "9ae0b6a6-12e0-4d73-a0a9-0e5b4ae9ea4a"]]
1568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1569
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1570
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1571
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1572
+  (0.1ms) rollback transaction
1573
+  (0.0ms) begin transaction
1574
+  (0.0ms) commit transaction
1575
+  (0.0ms) begin transaction
1576
+  (0.0ms) SAVEPOINT active_record_1
1577
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:50:39.688023"], ["updated_at", "2014-10-29 19:50:39.688023"]]
1578
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1579
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "e6428473-cb16-41e4-89e9-b11c672fe4c7"]]
1580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1581
+  (0.1ms) SAVEPOINT active_record_1
1582
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1583
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1584
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1585
+  (0.0ms) SAVEPOINT active_record_1
1586
+ 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"]]
1587
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
1588
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1589
+  (0.1ms) rollback transaction
1590
+  (0.0ms) begin transaction
1591
+  (0.0ms) commit transaction
1592
+  (0.0ms) begin transaction
1593
+  (0.1ms) rollback transaction
1594
+  (0.0ms) begin transaction
1595
+  (0.0ms) commit transaction
1596
+  (0.0ms) begin transaction
1597
+  (0.0ms) rollback transaction
1598
+  (0.0ms) begin transaction
1599
+  (0.0ms) commit transaction
1600
+  (0.0ms) begin transaction
1601
+  (0.0ms) rollback transaction
1602
+  (0.0ms) begin transaction
1603
+  (0.0ms) commit transaction
1604
+  (0.0ms) begin transaction
1605
+  (0.0ms) rollback transaction
1606
+  (5.4ms) DELETE FROM "uuids_uuids";
1607
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1608
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
1609
+  (2.4ms) DELETE FROM "records";
1610
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1611
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
1612
+  (2.3ms) DELETE FROM "cities";
1613
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1614
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
1615
+  (0.1ms) begin transaction
1616
+  (0.0ms) commit transaction
1617
+  (0.0ms) begin transaction
1618
+  (0.0ms) SAVEPOINT active_record_1
1619
+ SQL (0.7ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:51:26.941397"], ["updated_at", "2014-10-29 19:51:26.941397"]]
1620
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1621
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "21c5f6f9-39a1-46ac-bfa8-dbdd8b85bdb5"]]
1622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1623
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1624
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1625
+ 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"]]
1626
+  (0.2ms) rollback transaction
1627
+  (0.1ms) begin transaction
1628
+  (0.0ms) commit transaction
1629
+  (0.0ms) begin transaction
1630
+  (0.2ms) SAVEPOINT active_record_1
1631
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:51:26.989598"], ["updated_at", "2014-10-29 19:51:26.989598"]]
1632
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1633
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "4aad507e-06f5-4a14-b65c-6f4a225c3344"]]
1634
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1635
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "2024ff49-001a-48f6-9860-e24867752e94"]]
1636
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637
+  (0.2ms) rollback transaction
1638
+  (0.0ms) begin transaction
1639
+  (0.0ms) commit transaction
1640
+  (0.0ms) begin transaction
1641
+  (0.0ms) SAVEPOINT active_record_1
1642
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:51:27.000237"], ["updated_at", "2014-10-29 19:51:27.000237"]]
1643
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1644
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "bda61e40-0bad-4391-809f-8e3b0d46b691"]]
1645
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1646
+  (0.0ms) SAVEPOINT active_record_1
1647
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1648
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "bc35da19-6afd-4951-bb69-2695609845cd"]]
1649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1650
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1651
+ 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"]]
1652
+ 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" IN ('bda61e40-0bad-4391-809f-8e3b0d46b691', 'bc35da19-6afd-4951-bb69-2695609845cd')
1653
+  (0.2ms) rollback transaction
1654
+  (0.0ms) begin transaction
1655
+  (0.0ms) commit transaction
1656
+  (0.0ms) begin transaction
1657
+  (0.1ms) SAVEPOINT active_record_1
1658
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:51:27.017831"], ["updated_at", "2014-10-29 19:51:27.017831"]]
1659
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1660
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "f5dd9454-9ae4-4daa-bf1c-823440ce8a0a"]]
1661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1662
+  (0.2ms) rollback transaction
1663
+  (0.0ms) begin transaction
1664
+  (0.0ms) commit transaction
1665
+  (0.0ms) begin transaction
1666
+  (0.1ms) SAVEPOINT active_record_1
1667
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:51:27.028397"], ["updated_at", "2014-10-29 19:51:27.028397"]]
1668
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1669
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "58c6d4b2-d5aa-45d4-92f6-47ba1af9596f"]]
1670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1671
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1672
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1673
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1674
+  (0.2ms) rollback transaction
1675
+  (0.0ms) begin transaction
1676
+  (0.0ms) commit transaction
1677
+  (0.0ms) begin transaction
1678
+  (0.0ms) SAVEPOINT active_record_1
1679
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:51:27.036846"], ["updated_at", "2014-10-29 19:51:27.036846"]]
1680
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1681
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "bdf55c61-e45a-4576-8020-d74792cdfefd"]]
1682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1683
+  (0.1ms) SAVEPOINT active_record_1
1684
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1685
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1686
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1687
+  (0.0ms) SAVEPOINT active_record_1
1688
+ 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"]]
1689
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
1690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1691
+  (0.2ms) rollback transaction
1692
+  (0.0ms) begin transaction
1693
+  (0.0ms) commit transaction
1694
+  (0.0ms) begin transaction
1695
+  (0.1ms) rollback transaction
1696
+  (0.0ms) begin transaction
1697
+  (0.0ms) commit transaction
1698
+  (0.0ms) begin transaction
1699
+  (0.0ms) rollback transaction
1700
+  (0.0ms) begin transaction
1701
+  (0.0ms) commit transaction
1702
+  (0.0ms) begin transaction
1703
+  (0.0ms) rollback transaction
1704
+  (0.0ms) begin transaction
1705
+  (0.0ms) commit transaction
1706
+  (0.0ms) begin transaction
1707
+  (0.0ms) rollback transaction
1708
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1709
+  (4.4ms) DELETE FROM "uuids_uuids";
1710
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1711
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
1712
+  (2.3ms) DELETE FROM "records";
1713
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1714
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
1715
+  (2.4ms) DELETE FROM "cities";
1716
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1717
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
1718
+  (0.1ms) begin transaction
1719
+  (0.0ms) commit transaction
1720
+  (0.0ms) begin transaction
1721
+  (0.1ms) rollback transaction
1722
+  (0.0ms) begin transaction
1723
+  (0.0ms) commit transaction
1724
+  (0.0ms) begin transaction
1725
+  (0.0ms) rollback transaction
1726
+  (0.0ms) begin transaction
1727
+  (0.0ms) commit transaction
1728
+  (0.0ms) begin transaction
1729
+  (0.1ms) rollback transaction
1730
+  (0.1ms) begin transaction
1731
+  (0.0ms) commit transaction
1732
+  (0.0ms) begin transaction
1733
+  (0.0ms) SAVEPOINT active_record_1
1734
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:53:01.019622"], ["updated_at", "2014-10-29 19:53:01.019622"]]
1735
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1736
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "9e55c5dc-9ecf-47fe-b09c-b7838b27f1e5"]]
1737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1738
+  (0.1ms) SAVEPOINT active_record_1
1739
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1740
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "59405c80-9c80-4538-9d8b-bec7091bf4c0"]]
1741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1742
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1743
+ 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"]]
1744
+ 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" IN ('9e55c5dc-9ecf-47fe-b09c-b7838b27f1e5', '59405c80-9c80-4538-9d8b-bec7091bf4c0')
1745
+  (0.2ms) rollback transaction
1746
+  (0.0ms) begin transaction
1747
+  (0.0ms) commit transaction
1748
+  (0.1ms) begin transaction
1749
+  (0.1ms) SAVEPOINT active_record_1
1750
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:53:01.073034"], ["updated_at", "2014-10-29 19:53:01.073034"]]
1751
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1752
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "ca15f1a4-6af2-4c8e-8c99-6ba4c3e0d20c"]]
1753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1754
+  (0.3ms) rollback transaction
1755
+  (0.1ms) begin transaction
1756
+  (0.0ms) commit transaction
1757
+  (0.0ms) begin transaction
1758
+  (0.1ms) SAVEPOINT active_record_1
1759
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:53:01.084341"], ["updated_at", "2014-10-29 19:53:01.084341"]]
1760
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1761
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "cc9899eb-b82f-4ec7-b663-3adff1354957"]]
1762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1763
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1764
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1765
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1766
+  (0.2ms) rollback transaction
1767
+  (0.1ms) begin transaction
1768
+  (0.1ms) commit transaction
1769
+  (0.1ms) begin transaction
1770
+  (0.0ms) SAVEPOINT active_record_1
1771
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:53:01.092233"], ["updated_at", "2014-10-29 19:53:01.092233"]]
1772
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1773
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "3e755215-6204-429c-9c6b-016fe06ed83d"]]
1774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1775
+  (0.0ms) SAVEPOINT active_record_1
1776
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1777
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1778
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1779
+  (0.1ms) SAVEPOINT active_record_1
1780
+ 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"]]
1781
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
1782
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1783
+  (0.2ms) rollback transaction
1784
+  (0.1ms) begin transaction
1785
+  (0.0ms) commit transaction
1786
+  (0.0ms) begin transaction
1787
+  (0.1ms) SAVEPOINT active_record_1
1788
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:53:01.108260"], ["updated_at", "2014-10-29 19:53:01.108260"]]
1789
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1790
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "a8962976-0423-4274-8060-f432788ddccc"]]
1791
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1792
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1793
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1794
+ 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"]]
1795
+  (0.2ms) rollback transaction
1796
+  (0.1ms) begin transaction
1797
+  (0.1ms) commit transaction
1798
+  (0.1ms) begin transaction
1799
+  (0.1ms) SAVEPOINT active_record_1
1800
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:53:01.120376"], ["updated_at", "2014-10-29 19:53:01.120376"]]
1801
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1802
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "cf825746-6950-4927-9ba2-7e929b0db523"]]
1803
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1804
+ SQL (0.0ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "620b67a5-19ca-4b1d-97da-c328494b61ea"]]
1805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1806
+  (0.1ms) rollback transaction
1807
+  (0.1ms) begin transaction
1808
+  (0.0ms) commit transaction
1809
+  (0.1ms) begin transaction
1810
+  (0.0ms) rollback transaction
1811
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1812
+  (5.2ms) DELETE FROM "uuids_uuids";
1813
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1814
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
1815
+  (2.6ms) DELETE FROM "records";
1816
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1817
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
1818
+  (2.6ms) DELETE FROM "cities";
1819
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1820
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
1821
+  (0.1ms) begin transaction
1822
+  (0.0ms) commit transaction
1823
+  (0.0ms) begin transaction
1824
+  (0.0ms) SAVEPOINT active_record_1
1825
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:55:54.402047"], ["updated_at", "2014-10-29 19:55:54.402047"]]
1826
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1827
+ SQL (0.5ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "3969802f-79ae-4387-8e21-c013087c44d9"]]
1828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1829
+  (0.0ms) SAVEPOINT active_record_1
1830
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1831
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "d3a0490a-2072-43a6-8f3e-360583a4bf3f"]]
1832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1833
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1834
+ 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"]]
1835
+ 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" IN ('3969802f-79ae-4387-8e21-c013087c44d9', 'd3a0490a-2072-43a6-8f3e-360583a4bf3f')
1836
+  (0.2ms) rollback transaction
1837
+  (0.1ms) begin transaction
1838
+  (0.1ms) commit transaction
1839
+  (0.1ms) begin transaction
1840
+  (0.1ms) rollback transaction
1841
+  (0.0ms) begin transaction
1842
+  (0.0ms) commit transaction
1843
+  (0.0ms) begin transaction
1844
+  (0.1ms) SAVEPOINT active_record_1
1845
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:55:54.477403"], ["updated_at", "2014-10-29 19:55:54.477403"]]
1846
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1847
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "a8df1d3d-33af-482c-abe7-2ba767dee750"]]
1848
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1849
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1850
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1851
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1852
+  (0.2ms) rollback transaction
1853
+  (0.1ms) begin transaction
1854
+  (0.0ms) commit transaction
1855
+  (0.0ms) begin transaction
1856
+  (0.1ms) rollback transaction
1857
+  (0.0ms) begin transaction
1858
+  (0.0ms) commit transaction
1859
+  (0.0ms) begin transaction
1860
+  (0.0ms) SAVEPOINT active_record_1
1861
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:55:54.489622"], ["updated_at", "2014-10-29 19:55:54.489622"]]
1862
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1863
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "a0b0709e-bf78-4675-9f87-d12eb56cab4a"]]
1864
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1865
+ SQL (0.0ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "463d0c45-7214-4b16-a4d8-f1d11d07dd85"]]
1866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1867
+  (0.2ms) rollback transaction
1868
+  (0.0ms) begin transaction
1869
+  (0.0ms) commit transaction
1870
+  (0.0ms) begin transaction
1871
+  (0.1ms) SAVEPOINT active_record_1
1872
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:55:54.496226"], ["updated_at", "2014-10-29 19:55:54.496226"]]
1873
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1874
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "249264c0-a938-4c4e-995f-84af03920b36"]]
1875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1876
+  (0.1ms) SAVEPOINT active_record_1
1877
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1878
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1879
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1880
+  (0.0ms) SAVEPOINT active_record_1
1881
+ 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"]]
1882
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
1883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1884
+  (0.1ms) rollback transaction
1885
+  (0.0ms) begin transaction
1886
+  (0.0ms) commit transaction
1887
+  (0.0ms) begin transaction
1888
+  (0.0ms) SAVEPOINT active_record_1
1889
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:55:54.513677"], ["updated_at", "2014-10-29 19:55:54.513677"]]
1890
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1891
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "7db944f3-489a-4e8e-8eb3-4bc39917e5da"]]
1892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1893
+  (0.1ms) rollback transaction
1894
+  (0.0ms) begin transaction
1895
+  (0.0ms) commit transaction
1896
+  (0.0ms) begin transaction
1897
+  (0.1ms) SAVEPOINT active_record_1
1898
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:55:54.520349"], ["updated_at", "2014-10-29 19:55:54.520349"]]
1899
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1900
+ SQL (0.4ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "1e4211e4-95b4-449f-b1b6-e75a32d17680"]]
1901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1902
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1903
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1904
+ 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"]]
1905
+  (0.2ms) rollback transaction
1906
+  (0.1ms) begin transaction
1907
+  (0.0ms) commit transaction
1908
+  (0.0ms) begin transaction
1909
+  (0.0ms) rollback transaction
1910
+  (0.0ms) begin transaction
1911
+  (0.0ms) commit transaction
1912
+  (0.0ms) begin transaction
1913
+  (0.0ms) rollback transaction
1914
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1915
+  (11.1ms) DELETE FROM "uuids_uuids";
1916
+  (0.9ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1917
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
1918
+  (2.5ms) DELETE FROM "records";
1919
+  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1920
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
1921
+  (7.3ms) DELETE FROM "cities";
1922
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1923
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
1924
+  (0.1ms) begin transaction
1925
+  (0.1ms) commit transaction
1926
+  (0.1ms) begin transaction
1927
+  (0.1ms) rollback transaction
1928
+  (0.1ms) begin transaction
1929
+  (0.1ms) commit transaction
1930
+  (0.1ms) begin transaction
1931
+  (0.1ms) rollback transaction
1932
+  (0.1ms) begin transaction
1933
+  (0.1ms) commit transaction
1934
+  (0.1ms) begin transaction
1935
+  (0.1ms) rollback transaction
1936
+  (0.1ms) begin transaction
1937
+  (0.1ms) commit transaction
1938
+  (0.0ms) begin transaction
1939
+  (0.1ms) rollback transaction
1940
+  (0.1ms) begin transaction
1941
+  (0.1ms) commit transaction
1942
+  (0.0ms) begin transaction
1943
+  (0.1ms) SAVEPOINT active_record_1
1944
+ SQL (0.6ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:56:28.602242"], ["updated_at", "2014-10-29 19:56:28.602242"]]
1945
+ City Load (0.3ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1946
+ SQL (0.4ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "855f733b-12a3-44c4-bd4e-f3a37697272f"]]
1947
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1948
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "504518b3-47ac-465d-978d-2e0d17406319"]]
1949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1950
+  (0.2ms) rollback transaction
1951
+  (0.1ms) begin transaction
1952
+  (0.1ms) commit transaction
1953
+  (0.1ms) begin transaction
1954
+  (0.1ms) SAVEPOINT active_record_1
1955
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:56:28.633199"], ["updated_at", "2014-10-29 19:56:28.633199"]]
1956
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1957
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "edf51ab7-1bda-49c3-bad8-e55819d086f8"]]
1958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1959
+  (0.2ms) rollback transaction
1960
+  (0.1ms) begin transaction
1961
+  (0.1ms) commit transaction
1962
+  (0.1ms) begin transaction
1963
+  (0.1ms) SAVEPOINT active_record_1
1964
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:56:28.643554"], ["updated_at", "2014-10-29 19:56:28.643554"]]
1965
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1966
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "0d78eaf9-ca5e-4c9a-897a-d1822706607e"]]
1967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1968
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
1969
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1970
+ Uuids::Uuid Load (0.2ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
1971
+  (0.2ms) rollback transaction
1972
+  (0.1ms) begin transaction
1973
+  (0.1ms) commit transaction
1974
+  (0.1ms) begin transaction
1975
+  (0.1ms) SAVEPOINT active_record_1
1976
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:56:28.708990"], ["updated_at", "2014-10-29 19:56:28.708990"]]
1977
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1978
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "f7c69482-1150-459d-825f-b38b44f7eeed"]]
1979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1980
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1981
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1982
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
1983
+  (0.2ms) rollback transaction
1984
+  (0.1ms) begin transaction
1985
+  (0.1ms) commit transaction
1986
+  (0.1ms) begin transaction
1987
+  (0.1ms) SAVEPOINT active_record_1
1988
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:56:28.719244"], ["updated_at", "2014-10-29 19:56:28.719244"]]
1989
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1990
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "be3fad1a-f67d-4b5c-8e8c-0076dba4dc06"]]
1991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1992
+  (0.1ms) SAVEPOINT active_record_1
1993
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1994
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "153802d7-0d1f-4dcb-975e-a7ceefec3efb"]]
1995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1996
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
1997
+ 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"]]
1998
+ City Load (0.3ms) 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" IN ('be3fad1a-f67d-4b5c-8e8c-0076dba4dc06', '153802d7-0d1f-4dcb-975e-a7ceefec3efb')
1999
+  (0.2ms) rollback transaction
2000
+  (0.1ms) begin transaction
2001
+  (0.1ms) commit transaction
2002
+  (0.1ms) begin transaction
2003
+  (0.1ms) SAVEPOINT active_record_1
2004
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 19:56:28.742202"], ["updated_at", "2014-10-29 19:56:28.742202"]]
2005
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2006
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "13add4fc-916a-4b88-970c-4e2dacc308b3"]]
2007
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2008
+  (0.0ms) SAVEPOINT active_record_1
2009
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2010
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2011
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2012
+  (0.1ms) SAVEPOINT active_record_1
2013
+ 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"]]
2014
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
2015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2016
+  (0.2ms) rollback transaction
2017
+  (2.9ms) DELETE FROM "uuids_uuids";
2018
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2019
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2020
+  (2.4ms) DELETE FROM "records";
2021
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2022
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2023
+  (2.9ms) DELETE FROM "cities";
2024
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2025
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2026
+  (0.1ms) begin transaction
2027
+  (0.0ms) commit transaction
2028
+  (0.0ms) begin transaction
2029
+  (0.1ms) rollback transaction
2030
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2031
+  (4.9ms) DELETE FROM "uuids_uuids";
2032
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2033
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2034
+  (2.2ms) DELETE FROM "records";
2035
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2036
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2037
+  (2.3ms) DELETE FROM "cities";
2038
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2039
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2040
+  (0.1ms) begin transaction
2041
+  (0.1ms) commit transaction
2042
+  (0.1ms) begin transaction
2043
+  (0.1ms) rollback transaction
2044
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2045
+  (4.1ms) DELETE FROM "uuids_uuids";
2046
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2047
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2048
+  (2.6ms) DELETE FROM "records";
2049
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2050
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2051
+  (2.4ms) DELETE FROM "cities";
2052
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2053
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2054
+  (0.1ms) begin transaction
2055
+  (0.0ms) commit transaction
2056
+  (0.0ms) begin transaction
2057
+  (0.1ms) rollback transaction
2058
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2059
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2060
+  (4.2ms) DELETE FROM "uuids_uuids";
2061
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2062
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2063
+  (1.9ms) DELETE FROM "records";
2064
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2065
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2066
+  (2.4ms) DELETE FROM "cities";
2067
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2068
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2069
+  (0.1ms) begin transaction
2070
+  (0.1ms) commit transaction
2071
+  (0.0ms) begin transaction
2072
+  (0.1ms) rollback transaction
2073
+  (4.2ms) DELETE FROM "uuids_uuids";
2074
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2075
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2076
+  (2.3ms) DELETE FROM "records";
2077
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2078
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2079
+  (2.2ms) DELETE FROM "cities";
2080
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2081
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2082
+  (0.1ms) begin transaction
2083
+  (0.1ms) commit transaction
2084
+  (0.0ms) begin transaction
2085
+  (0.1ms) rollback transaction
2086
+  (0.0ms) begin transaction
2087
+  (0.0ms) commit transaction
2088
+  (0.0ms) begin transaction
2089
+  (0.0ms) rollback transaction
2090
+  (0.0ms) begin transaction
2091
+  (0.0ms) commit transaction
2092
+  (0.0ms) begin transaction
2093
+  (0.0ms) SAVEPOINT active_record_1
2094
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:44:42.761159"], ["updated_at", "2014-10-29 20:44:42.761159"]]
2095
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2096
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "c8d15409-b65d-4e5a-8869-0e18cce37387"]]
2097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2098
+  (0.0ms) SAVEPOINT active_record_1
2099
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2100
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "bc97ef2b-8ca7-4dc9-bcab-e588c0ebfd9d"]]
2101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2102
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2103
+ 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"]]
2104
+ 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" IN ('c8d15409-b65d-4e5a-8869-0e18cce37387', 'bc97ef2b-8ca7-4dc9-bcab-e588c0ebfd9d')
2105
+  (0.2ms) rollback transaction
2106
+  (0.0ms) begin transaction
2107
+  (0.0ms) commit transaction
2108
+  (0.0ms) begin transaction
2109
+  (0.1ms) rollback transaction
2110
+  (0.0ms) begin transaction
2111
+  (0.0ms) commit transaction
2112
+  (0.0ms) begin transaction
2113
+  (0.0ms) SAVEPOINT active_record_1
2114
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:44:42.834773"], ["updated_at", "2014-10-29 20:44:42.834773"]]
2115
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2116
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "e5241f04-292d-418c-b24d-4dd74f301d89"]]
2117
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2118
+ SQL (0.0ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "6d0b34ef-d202-4ee4-9d93-6e96217f1500"]]
2119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2120
+  (0.1ms) rollback transaction
2121
+  (0.1ms) begin transaction
2122
+  (0.1ms) commit transaction
2123
+  (0.1ms) begin transaction
2124
+  (0.1ms) rollback transaction
2125
+  (0.1ms) begin transaction
2126
+  (0.1ms) commit transaction
2127
+  (0.1ms) begin transaction
2128
+  (0.1ms) SAVEPOINT active_record_1
2129
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:44:42.847917"], ["updated_at", "2014-10-29 20:44:42.847917"]]
2130
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2131
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "c19457d7-6a32-438e-9bba-5b2e0c4998d8"]]
2132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2133
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2134
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2135
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2136
+  (0.1ms) rollback transaction
2137
+  (0.0ms) begin transaction
2138
+  (0.0ms) commit transaction
2139
+  (0.0ms) begin transaction
2140
+  (0.1ms) SAVEPOINT active_record_1
2141
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:44:42.854706"], ["updated_at", "2014-10-29 20:44:42.854706"]]
2142
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2143
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "8fa17949-d6ed-4136-b306-884d622a7054"]]
2144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2145
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2146
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2147
+ 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"]]
2148
+  (0.2ms) rollback transaction
2149
+  (0.1ms) begin transaction
2150
+  (0.0ms) commit transaction
2151
+  (0.0ms) begin transaction
2152
+  (0.0ms) SAVEPOINT active_record_1
2153
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:44:42.868860"], ["updated_at", "2014-10-29 20:44:42.868860"]]
2154
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2155
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "8651c8a5-a184-467d-bb46-da84462069b9"]]
2156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2157
+  (0.0ms) SAVEPOINT active_record_1
2158
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2159
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2160
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2161
+  (0.0ms) SAVEPOINT active_record_1
2162
+ 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"]]
2163
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
2164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2165
+  (0.1ms) rollback transaction
2166
+  (0.1ms) begin transaction
2167
+  (0.0ms) commit transaction
2168
+  (0.0ms) begin transaction
2169
+  (0.0ms) SAVEPOINT active_record_1
2170
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:44:42.877399"], ["updated_at", "2014-10-29 20:44:42.877399"]]
2171
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2172
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "1844dd74-284c-4781-a4ca-785d2cf976ba"]]
2173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2174
+  (0.1ms) rollback transaction
2175
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2176
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2177
+  (5.0ms) DELETE FROM "uuids_uuids";
2178
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2179
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2180
+  (2.1ms) DELETE FROM "records";
2181
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2182
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2183
+  (2.4ms) DELETE FROM "cities";
2184
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2185
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2186
+  (0.1ms) begin transaction
2187
+  (0.0ms) commit transaction
2188
+  (0.0ms) begin transaction
2189
+  (0.1ms) rollback transaction
2190
+  (0.0ms) begin transaction
2191
+  (0.0ms) commit transaction
2192
+  (0.1ms) begin transaction
2193
+  (0.0ms) rollback transaction
2194
+  (0.0ms) begin transaction
2195
+  (0.0ms) commit transaction
2196
+  (0.0ms) begin transaction
2197
+  (0.1ms) SAVEPOINT active_record_1
2198
+ SQL (0.6ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:56:09.552743"], ["updated_at", "2014-10-29 20:56:09.552743"]]
2199
+ City Load (0.2ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2200
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "d6749511-691e-4500-a9ca-a92188f7d32a"]]
2201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2202
+  (0.0ms) SAVEPOINT active_record_1
2203
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2204
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "19d9c54f-832c-4d6e-a360-c73b8c95b9cd"]]
2205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2206
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2207
+ Uuids::Uuid Load (0.2ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
2208
+ 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" IN ('d6749511-691e-4500-a9ca-a92188f7d32a', '19d9c54f-832c-4d6e-a360-c73b8c95b9cd')
2209
+  (0.2ms) rollback transaction
2210
+  (0.1ms) begin transaction
2211
+  (0.1ms) commit transaction
2212
+  (0.1ms) begin transaction
2213
+  (0.0ms) SAVEPOINT active_record_1
2214
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:56:09.643012"], ["updated_at", "2014-10-29 20:56:09.643012"]]
2215
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2216
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "f39d8350-b5cd-421c-a8c1-c0dabb242004"]]
2217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2218
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2219
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2220
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2221
+  (0.2ms) rollback transaction
2222
+  (0.1ms) begin transaction
2223
+  (0.1ms) commit transaction
2224
+  (0.1ms) begin transaction
2225
+  (0.1ms) SAVEPOINT active_record_1
2226
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:56:09.650676"], ["updated_at", "2014-10-29 20:56:09.650676"]]
2227
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2228
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "1b4183b9-20cd-4cd2-8046-377e72eda639"]]
2229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2230
+  (0.0ms) SAVEPOINT active_record_1
2231
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2232
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2233
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2234
+  (0.0ms) SAVEPOINT active_record_1
2235
+ 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"]]
2236
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
2237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2238
+  (0.1ms) rollback transaction
2239
+  (0.0ms) begin transaction
2240
+  (0.0ms) commit transaction
2241
+  (0.1ms) begin transaction
2242
+  (0.1ms) rollback transaction
2243
+  (0.0ms) begin transaction
2244
+  (0.0ms) commit transaction
2245
+  (0.0ms) begin transaction
2246
+  (0.0ms) SAVEPOINT active_record_1
2247
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:56:09.670140"], ["updated_at", "2014-10-29 20:56:09.670140"]]
2248
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2249
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "2663e7cf-457e-4529-a697-f44c1013ae8c"]]
2250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2251
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2252
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2253
+ 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"]]
2254
+  (0.2ms) rollback transaction
2255
+  (0.0ms) begin transaction
2256
+  (0.0ms) commit transaction
2257
+  (0.0ms) begin transaction
2258
+  (0.0ms) SAVEPOINT active_record_1
2259
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:56:09.679978"], ["updated_at", "2014-10-29 20:56:09.679978"]]
2260
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2261
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "b6c1ad74-8617-415b-86bb-07afe1376c92"]]
2262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2263
+  (0.1ms) rollback transaction
2264
+  (0.0ms) begin transaction
2265
+  (0.0ms) commit transaction
2266
+  (0.0ms) begin transaction
2267
+  (0.0ms) rollback transaction
2268
+  (0.0ms) begin transaction
2269
+  (0.0ms) commit transaction
2270
+  (0.0ms) begin transaction
2271
+  (0.0ms) SAVEPOINT active_record_1
2272
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:56:09.690007"], ["updated_at", "2014-10-29 20:56:09.690007"]]
2273
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2274
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "c4e25d91-46df-4f03-9d1a-0aaa55b7b086"]]
2275
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2276
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "043b7c2a-7dfe-4aef-bf9d-48702409ca60"]]
2277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2278
+  (0.1ms) rollback transaction
2279
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2280
+  (5.2ms) DELETE FROM "uuids_uuids";
2281
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2282
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2283
+  (2.8ms) DELETE FROM "records";
2284
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2285
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2286
+  (2.8ms) DELETE FROM "cities";
2287
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2288
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2289
+  (0.1ms) begin transaction
2290
+  (0.1ms) commit transaction
2291
+  (0.0ms) begin transaction
2292
+  (0.0ms) SAVEPOINT active_record_1
2293
+ SQL (0.5ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:57:08.548775"], ["updated_at", "2014-10-29 20:57:08.548775"]]
2294
+ City Load (0.2ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2295
+ SQL (0.4ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "ce9983cf-d08b-461b-ad84-2c5dab27589a"]]
2296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2297
+  (0.1ms) SAVEPOINT active_record_1
2298
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2299
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2300
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2301
+  (0.1ms) SAVEPOINT active_record_1
2302
+ 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"]]
2303
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
2304
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2305
+  (0.2ms) rollback transaction
2306
+  (0.1ms) begin transaction
2307
+  (0.1ms) commit transaction
2308
+  (0.1ms) begin transaction
2309
+  (0.0ms) SAVEPOINT active_record_1
2310
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:57:08.598758"], ["updated_at", "2014-10-29 20:57:08.598758"]]
2311
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2312
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "20c955ec-fd40-428d-aaed-7c62dc1a35fb"]]
2313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2314
+  (0.2ms) rollback transaction
2315
+  (0.1ms) begin transaction
2316
+  (0.0ms) commit transaction
2317
+  (0.0ms) begin transaction
2318
+  (0.1ms) rollback transaction
2319
+  (0.0ms) begin transaction
2320
+  (0.0ms) commit transaction
2321
+  (0.0ms) begin transaction
2322
+  (0.1ms) SAVEPOINT active_record_1
2323
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:57:08.640841"], ["updated_at", "2014-10-29 20:57:08.640841"]]
2324
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2325
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "ce8aa95e-1787-4db0-8970-96cdae9e4bbd"]]
2326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2327
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2328
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2329
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2330
+  (0.2ms) rollback transaction
2331
+  (0.1ms) begin transaction
2332
+  (0.0ms) commit transaction
2333
+  (0.0ms) begin transaction
2334
+  (0.1ms) SAVEPOINT active_record_1
2335
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:57:08.649874"], ["updated_at", "2014-10-29 20:57:08.649874"]]
2336
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2337
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "130895ab-a8b1-4824-a2d1-005653785ed1"]]
2338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2339
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2340
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2341
+ 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"]]
2342
+  (0.2ms) rollback transaction
2343
+  (0.1ms) begin transaction
2344
+  (0.0ms) commit transaction
2345
+  (0.0ms) begin transaction
2346
+  (0.1ms) SAVEPOINT active_record_1
2347
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:57:08.663240"], ["updated_at", "2014-10-29 20:57:08.663240"]]
2348
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2349
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "33c1b148-4070-4889-bec2-391c27e9447c"]]
2350
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2351
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "1cd1f462-cf55-4fd3-9c07-de9d4027f4b5"]]
2352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2353
+  (0.1ms) rollback transaction
2354
+  (0.0ms) begin transaction
2355
+  (0.0ms) commit transaction
2356
+  (0.0ms) begin transaction
2357
+  (0.1ms) rollback transaction
2358
+  (0.0ms) begin transaction
2359
+  (0.0ms) commit transaction
2360
+  (0.0ms) begin transaction
2361
+  (0.0ms) SAVEPOINT active_record_1
2362
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:57:08.672630"], ["updated_at", "2014-10-29 20:57:08.672630"]]
2363
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2364
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "16914648-37c4-46ff-b70b-82b94449b242"]]
2365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2366
+  (0.0ms) SAVEPOINT active_record_1
2367
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2368
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "332969e6-eaee-42f5-915b-2f19171710ec"]]
2369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2370
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2371
+ 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"]]
2372
+ 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" IN ('16914648-37c4-46ff-b70b-82b94449b242', '332969e6-eaee-42f5-915b-2f19171710ec')
2373
+  (0.2ms) rollback transaction
2374
+  (0.1ms) begin transaction
2375
+  (0.1ms) commit transaction
2376
+  (0.0ms) begin transaction
2377
+  (0.0ms) rollback transaction
2378
+  (0.0ms) begin transaction
2379
+  (0.0ms) commit transaction
2380
+  (0.0ms) begin transaction
2381
+  (0.0ms) rollback transaction
2382
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2383
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2384
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2385
+  (4.7ms) DELETE FROM "uuids_uuids";
2386
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2387
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2388
+  (2.0ms) DELETE FROM "records";
2389
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2390
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2391
+  (2.6ms) DELETE FROM "cities";
2392
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2393
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2394
+  (0.1ms) begin transaction
2395
+  (0.0ms) commit transaction
2396
+  (0.0ms) begin transaction
2397
+  (0.1ms) rollback transaction
2398
+  (0.0ms) begin transaction
2399
+  (0.0ms) commit transaction
2400
+  (0.0ms) begin transaction
2401
+  (0.1ms) rollback transaction
2402
+  (0.1ms) begin transaction
2403
+  (0.1ms) commit transaction
2404
+  (0.0ms) begin transaction
2405
+  (0.0ms) rollback transaction
2406
+  (0.0ms) begin transaction
2407
+  (0.0ms) commit transaction
2408
+  (0.0ms) begin transaction
2409
+  (0.0ms) rollback transaction
2410
+  (0.0ms) begin transaction
2411
+  (0.0ms) commit transaction
2412
+  (0.0ms) begin transaction
2413
+  (0.0ms) rollback transaction
2414
+  (0.0ms) begin transaction
2415
+  (0.0ms) commit transaction
2416
+  (0.0ms) begin transaction
2417
+  (0.0ms) rollback transaction
2418
+  (0.0ms) begin transaction
2419
+  (0.0ms) commit transaction
2420
+  (0.0ms) begin transaction
2421
+  (0.0ms) rollback transaction
2422
+  (0.0ms) begin transaction
2423
+  (0.0ms) commit transaction
2424
+  (0.0ms) begin transaction
2425
+  (0.0ms) rollback transaction
2426
+  (0.0ms) begin transaction
2427
+  (0.0ms) commit transaction
2428
+  (0.0ms) begin transaction
2429
+  (0.0ms) rollback transaction
2430
+  (0.0ms) begin transaction
2431
+  (0.0ms) commit transaction
2432
+  (0.0ms) begin transaction
2433
+  (0.0ms) rollback transaction
2434
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2435
+  (4.8ms) DELETE FROM "uuids_uuids";
2436
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2437
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2438
+  (2.2ms) DELETE FROM "records";
2439
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2440
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2441
+  (2.5ms) DELETE FROM "cities";
2442
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2443
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2444
+  (0.1ms) begin transaction
2445
+  (0.1ms) commit transaction
2446
+  (0.0ms) begin transaction
2447
+  (0.0ms) SAVEPOINT active_record_1
2448
+ SQL (0.6ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:59:10.817212"], ["updated_at", "2014-10-29 20:59:10.817212"]]
2449
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2450
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "59f37e4c-9fad-4363-b80e-48f82f50d18b"]]
2451
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2452
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2453
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2454
+ 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"]]
2455
+  (0.3ms) rollback transaction
2456
+  (0.1ms) begin transaction
2457
+  (0.1ms) commit transaction
2458
+  (0.1ms) begin transaction
2459
+  (0.1ms) SAVEPOINT active_record_1
2460
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:59:10.860427"], ["updated_at", "2014-10-29 20:59:10.860427"]]
2461
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2462
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "85c0545e-0099-4f27-9e7b-f8eaaf486dce"]]
2463
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2464
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "101e9c15-cdcd-466f-960e-745195ae2520"]]
2465
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2466
+  (0.2ms) rollback transaction
2467
+  (0.1ms) begin transaction
2468
+  (0.1ms) commit transaction
2469
+  (0.1ms) begin transaction
2470
+  (0.1ms) rollback transaction
2471
+  (0.1ms) begin transaction
2472
+  (0.0ms) commit transaction
2473
+  (0.0ms) begin transaction
2474
+  (0.1ms) SAVEPOINT active_record_1
2475
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:59:10.874816"], ["updated_at", "2014-10-29 20:59:10.874816"]]
2476
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2477
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "afacef1d-109b-496f-bae3-d25fa01cd634"]]
2478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2479
+  (0.1ms) SAVEPOINT active_record_1
2480
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2481
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2482
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2483
+  (0.0ms) SAVEPOINT active_record_1
2484
+ 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"]]
2485
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
2486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2487
+  (0.2ms) rollback transaction
2488
+  (0.1ms) begin transaction
2489
+  (0.0ms) commit transaction
2490
+  (0.0ms) begin transaction
2491
+  (0.0ms) SAVEPOINT active_record_1
2492
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:59:10.912352"], ["updated_at", "2014-10-29 20:59:10.912352"]]
2493
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2494
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "003a8810-746d-40af-a7c3-66b28534df81"]]
2495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2496
+  (0.2ms) rollback transaction
2497
+  (0.0ms) begin transaction
2498
+  (0.1ms) commit transaction
2499
+  (0.1ms) begin transaction
2500
+  (0.0ms) SAVEPOINT active_record_1
2501
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:59:10.919525"], ["updated_at", "2014-10-29 20:59:10.919525"]]
2502
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2503
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "7b8a1e71-669f-4986-829f-3ad26f1cfe09"]]
2504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2505
+  (0.0ms) SAVEPOINT active_record_1
2506
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2507
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "d6c77ae0-5973-4788-aa55-2fe582843218"]]
2508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2509
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2510
+ 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"]]
2511
+ 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" IN ('7b8a1e71-669f-4986-829f-3ad26f1cfe09', 'd6c77ae0-5973-4788-aa55-2fe582843218')
2512
+  (0.2ms) rollback transaction
2513
+  (0.0ms) begin transaction
2514
+  (0.0ms) commit transaction
2515
+  (0.0ms) begin transaction
2516
+  (0.1ms) SAVEPOINT active_record_1
2517
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 20:59:10.937655"], ["updated_at", "2014-10-29 20:59:10.937655"]]
2518
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2519
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "8b4546a4-6fdd-4573-baf6-b1287cce95ef"]]
2520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2521
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2522
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2523
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2524
+  (0.2ms) rollback transaction
2525
+  (0.1ms) begin transaction
2526
+  (0.1ms) commit transaction
2527
+  (0.1ms) begin transaction
2528
+  (0.0ms) rollback transaction
2529
+  (0.0ms) begin transaction
2530
+  (0.0ms) commit transaction
2531
+  (0.0ms) begin transaction
2532
+  (0.0ms) rollback transaction
2533
+  (0.0ms) begin transaction
2534
+  (0.0ms) commit transaction
2535
+  (0.0ms) begin transaction
2536
+  (0.0ms) rollback transaction
2537
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2538
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2539
+  (0.1ms)  SELECT sql
2540
+ FROM sqlite_master
2541
+ WHERE name='index_uuids_uuids_on_value' AND type='index'
2542
+ UNION ALL
2543
+ SELECT sql
2544
+ FROM sqlite_temp_master
2545
+ WHERE name='index_uuids_uuids_on_value' AND type='index'
2546
+ 
2547
+  (0.1ms) SELECT sql
2548
+ FROM sqlite_master
2549
+ WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
2550
+ UNION ALL
2551
+ SELECT sql
2552
+ FROM sqlite_temp_master
2553
+ WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
2554
+
2555
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2556
+  (4.8ms) DELETE FROM "uuids_uuids";
2557
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2558
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2559
+  (2.6ms) DELETE FROM "records";
2560
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2561
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2562
+  (2.4ms) DELETE FROM "cities";
2563
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2564
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2565
+  (0.0ms) begin transaction
2566
+  (0.0ms) commit transaction
2567
+  (0.0ms) begin transaction
2568
+  (0.0ms) SAVEPOINT active_record_1
2569
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.876099"], ["updated_at", "2014-10-29 21:03:17.876099"]]
2570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2571
+  (0.0ms) SAVEPOINT active_record_1
2572
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "90ac399b-e5ba-4033-997e-5be16520dcf3"]]
2573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2574
+  (0.1ms) rollback transaction
2575
+  (0.0ms) begin transaction
2576
+  (0.0ms) commit transaction
2577
+  (0.0ms) begin transaction
2578
+  (0.0ms) SAVEPOINT active_record_1
2579
+ SQL (0.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.888970"], ["updated_at", "2014-10-29 21:03:17.888970"]]
2580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2581
+  (0.0ms) SAVEPOINT active_record_1
2582
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "f5d51729-0932-468b-8227-b1d3fdf11e8f"]]
2583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2584
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
2585
+  (0.2ms) rollback transaction
2586
+  (0.0ms) begin transaction
2587
+  (0.0ms) commit transaction
2588
+  (0.0ms) begin transaction
2589
+  (0.0ms) SAVEPOINT active_record_1
2590
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.896575"], ["updated_at", "2014-10-29 21:03:17.896575"]]
2591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2592
+  (0.0ms) SAVEPOINT active_record_1
2593
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "5551ddc5-3fa9-4e51-acb4-fb9b6d8adbe1"]]
2594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2595
+  (0.0ms) SAVEPOINT active_record_1
2596
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2597
+  (0.1ms) rollback transaction
2598
+  (0.0ms) begin transaction
2599
+  (0.0ms) commit transaction
2600
+  (0.0ms) begin transaction
2601
+  (0.0ms) SAVEPOINT active_record_1
2602
+ SQL (0.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.905989"], ["updated_at", "2014-10-29 21:03:17.905989"]]
2603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2604
+  (0.0ms) SAVEPOINT active_record_1
2605
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "c939a5af-abf6-44fe-b336-4d2f95dd8d3f"]]
2606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2607
+  (0.0ms) SAVEPOINT active_record_1
2608
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2609
+  (0.1ms) rollback transaction
2610
+  (0.0ms) begin transaction
2611
+  (0.0ms) commit transaction
2612
+  (0.0ms) begin transaction
2613
+  (0.0ms) SAVEPOINT active_record_1
2614
+ SQL (0.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.910502"], ["updated_at", "2014-10-29 21:03:17.910502"]]
2615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2616
+  (0.0ms) SAVEPOINT active_record_1
2617
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "613eb305-0f4e-473c-82e7-c1d97b75c05d"]]
2618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2619
+ Uuids::Uuid Load (0.0ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
2620
+  (0.0ms) SAVEPOINT active_record_1
2621
+ Record Load (0.1ms) SELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1 [["id", 1]]
2622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2623
+ Uuids::Uuid Load (0.0ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
2624
+  (0.1ms) rollback transaction
2625
+  (0.0ms) begin transaction
2626
+  (0.0ms) commit transaction
2627
+  (0.0ms) begin transaction
2628
+  (0.0ms) SAVEPOINT active_record_1
2629
+ SQL (0.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.918070"], ["updated_at", "2014-10-29 21:03:17.918070"]]
2630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2631
+  (0.0ms) SAVEPOINT active_record_1
2632
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "400417e3-a176-466c-9171-edb24d17afa4"]]
2633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2634
+ Uuids::Uuid Load (0.0ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
2635
+  (0.1ms) rollback transaction
2636
+  (0.0ms) begin transaction
2637
+  (0.0ms) commit transaction
2638
+  (0.0ms) begin transaction
2639
+  (0.0ms) SAVEPOINT active_record_1
2640
+ SQL (0.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.921909"], ["updated_at", "2014-10-29 21:03:17.921909"]]
2641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2642
+  (0.1ms) rollback transaction
2643
+  (0.7ms) begin transaction
2644
+  (0.4ms) commit transaction
2645
+  (0.0ms) begin transaction
2646
+  (0.0ms) SAVEPOINT active_record_1
2647
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.948186"], ["updated_at", "2014-10-29 21:03:17.948186"]]
2648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2649
+  (0.1ms) rollback transaction
2650
+  (0.0ms) begin transaction
2651
+  (0.0ms) commit transaction
2652
+  (0.0ms) begin transaction
2653
+  (0.0ms) SAVEPOINT active_record_1
2654
+ SQL (0.2ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.951129"], ["updated_at", "2014-10-29 21:03:17.951129"]]
2655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2656
+  (0.1ms) rollback transaction
2657
+  (0.0ms) begin transaction
2658
+  (0.0ms) commit transaction
2659
+  (0.0ms) begin transaction
2660
+  (0.1ms) SAVEPOINT active_record_1
2661
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.961590"], ["updated_at", "2014-10-29 21:03:17.961590"]]
2662
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2663
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "b0082091-f7da-46b1-af01-dbe99b95c99f"]]
2664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2665
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2666
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2667
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2668
+  (0.1ms) rollback transaction
2669
+  (0.0ms) begin transaction
2670
+  (0.0ms) commit transaction
2671
+  (0.0ms) begin transaction
2672
+  (0.0ms) SAVEPOINT active_record_1
2673
+ SQL (0.2ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.969139"], ["updated_at", "2014-10-29 21:03:17.969139"]]
2674
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2675
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "c2079ecc-813f-4130-8a93-3eed80f53e17"]]
2676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2677
+  (0.1ms) rollback transaction
2678
+  (0.0ms) begin transaction
2679
+  (0.0ms) commit transaction
2680
+  (0.0ms) begin transaction
2681
+  (0.0ms) SAVEPOINT active_record_1
2682
+ SQL (0.2ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.974316"], ["updated_at", "2014-10-29 21:03:17.974316"]]
2683
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2684
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "d679cca9-b44f-4941-b1eb-bd28328ab192"]]
2685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2686
+  (0.0ms) SAVEPOINT active_record_1
2687
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2688
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "9c037d4c-14b2-48a1-b42e-a23e8c49d0ed"]]
2689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2690
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2691
+ 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"]]
2692
+ 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" IN ('d679cca9-b44f-4941-b1eb-bd28328ab192', '9c037d4c-14b2-48a1-b42e-a23e8c49d0ed')
2693
+  (0.2ms) rollback transaction
2694
+  (0.0ms) begin transaction
2695
+  (0.0ms) commit transaction
2696
+  (0.0ms) begin transaction
2697
+  (0.0ms) SAVEPOINT active_record_1
2698
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:17.992038"], ["updated_at", "2014-10-29 21:03:17.992038"]]
2699
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2700
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "dafe7872-e9f0-45d5-8961-95e381266741"]]
2701
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2702
+ SQL (0.0ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "f93e9ff1-b462-4cff-8639-ed878d5c3ddd"]]
2703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2704
+  (0.1ms) rollback transaction
2705
+  (0.0ms) begin transaction
2706
+  (0.0ms) commit transaction
2707
+  (0.0ms) begin transaction
2708
+  (0.0ms) rollback transaction
2709
+  (0.0ms) begin transaction
2710
+  (0.0ms) commit transaction
2711
+  (0.0ms) begin transaction
2712
+  (0.0ms) rollback transaction
2713
+  (0.0ms) begin transaction
2714
+  (0.0ms) commit transaction
2715
+  (0.0ms) begin transaction
2716
+  (0.0ms) SAVEPOINT active_record_1
2717
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:18.002510"], ["updated_at", "2014-10-29 21:03:18.002510"]]
2718
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2719
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "dcb89d3c-bcc5-4836-9256-c7a6bf4ee275"]]
2720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2721
+  (0.0ms) SAVEPOINT active_record_1
2722
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2723
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2724
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2725
+  (0.0ms) SAVEPOINT active_record_1
2726
+ 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"]]
2727
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
2728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2729
+  (0.1ms) rollback transaction
2730
+  (0.1ms) begin transaction
2731
+  (0.1ms) commit transaction
2732
+  (0.0ms) begin transaction
2733
+  (0.0ms) SAVEPOINT active_record_1
2734
+ SQL (0.2ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:03:18.010801"], ["updated_at", "2014-10-29 21:03:18.010801"]]
2735
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2736
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "11cb1260-d13f-4786-a853-1608bb4d2804"]]
2737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2738
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2739
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2740
+ 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"]]
2741
+  (0.2ms) rollback transaction
2742
+  (0.0ms) begin transaction
2743
+  (0.0ms) commit transaction
2744
+  (0.0ms) begin transaction
2745
+  (0.0ms) rollback transaction
2746
+  (0.0ms) begin transaction
2747
+  (0.0ms) commit transaction
2748
+  (0.0ms) begin transaction
2749
+  (0.0ms) rollback transaction
2750
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2751
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2752
+  (0.1ms)  SELECT sql
2753
+ FROM sqlite_master
2754
+ WHERE name='index_uuids_uuids_on_value' AND type='index'
2755
+ UNION ALL
2756
+ SELECT sql
2757
+ FROM sqlite_temp_master
2758
+ WHERE name='index_uuids_uuids_on_value' AND type='index'
2759
+ 
2760
+  (0.1ms) SELECT sql
2761
+ FROM sqlite_master
2762
+ WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
2763
+ UNION ALL
2764
+ SELECT sql
2765
+ FROM sqlite_temp_master
2766
+ WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
2767
+
2768
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2769
+  (4.6ms) DELETE FROM "uuids_uuids";
2770
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2771
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uuids_uuids';
2772
+  (2.8ms) DELETE FROM "records";
2773
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2774
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'records';
2775
+  (1.8ms) DELETE FROM "cities";
2776
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2777
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'cities';
2778
+  (0.1ms) begin transaction
2779
+  (0.1ms) commit transaction
2780
+  (0.0ms) begin transaction
2781
+  (0.1ms) rollback transaction
2782
+  (0.1ms) begin transaction
2783
+  (0.0ms) commit transaction
2784
+  (0.0ms) begin transaction
2785
+  (0.1ms) rollback transaction
2786
+  (0.0ms) begin transaction
2787
+  (0.1ms) commit transaction
2788
+  (0.1ms) begin transaction
2789
+  (0.1ms) SAVEPOINT active_record_1
2790
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:05.884633"], ["updated_at", "2014-10-29 21:07:05.884633"]]
2791
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2792
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "420d0aea-7d3c-42da-8de1-d2ed4f5b30c0"]]
2793
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2794
+ SQL (0.1ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "c7bfa327-240e-4a5e-a035-1bffe850e389"]]
2795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2796
+  (0.2ms) rollback transaction
2797
+  (0.1ms) begin transaction
2798
+  (0.0ms) commit transaction
2799
+  (0.1ms) begin transaction
2800
+  (0.0ms) SAVEPOINT active_record_1
2801
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:05.903485"], ["updated_at", "2014-10-29 21:07:05.903485"]]
2802
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2803
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "a9d9c056-2399-408f-8e65-67f2b73d1edc"]]
2804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2805
+ SQL (0.1ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2806
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2807
+ 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"]]
2808
+  (0.2ms) rollback transaction
2809
+  (0.1ms) begin transaction
2810
+  (0.1ms) commit transaction
2811
+  (0.1ms) begin transaction
2812
+  (0.1ms) SAVEPOINT active_record_1
2813
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:05.924570"], ["updated_at", "2014-10-29 21:07:05.924570"]]
2814
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2815
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "e2d1001f-bc47-4a49-b664-2f1bffb96a3d"]]
2816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2817
+  (0.0ms) SAVEPOINT active_record_1
2818
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2819
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "a538ded3-5f27-49c1-8746-558925ddf6f2"]]
2820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2821
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2822
+ 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"]]
2823
+ 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" IN ('e2d1001f-bc47-4a49-b664-2f1bffb96a3d', 'a538ded3-5f27-49c1-8746-558925ddf6f2')
2824
+  (0.2ms) rollback transaction
2825
+  (0.1ms) begin transaction
2826
+  (0.1ms) commit transaction
2827
+  (0.0ms) begin transaction
2828
+  (0.1ms) rollback transaction
2829
+  (0.1ms) begin transaction
2830
+  (0.0ms) commit transaction
2831
+  (0.1ms) begin transaction
2832
+  (0.1ms) rollback transaction
2833
+  (0.1ms) begin transaction
2834
+  (0.1ms) commit transaction
2835
+  (0.1ms) begin transaction
2836
+  (0.1ms) SAVEPOINT active_record_1
2837
+ SQL (0.4ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:05.956010"], ["updated_at", "2014-10-29 21:07:05.956010"]]
2838
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2839
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "a731cfb6-1c41-4342-995d-f793d6468f0e"]]
2840
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2841
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2842
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2843
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
2844
+  (0.2ms) rollback transaction
2845
+  (0.1ms) begin transaction
2846
+  (0.1ms) commit transaction
2847
+  (0.0ms) begin transaction
2848
+  (0.1ms) SAVEPOINT active_record_1
2849
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:05.964187"], ["updated_at", "2014-10-29 21:07:05.964187"]]
2850
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2851
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "fd8cc0bf-c9b6-4f4e-beab-74d8f93e35fd"]]
2852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2853
+  (0.0ms) SAVEPOINT active_record_1
2854
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2855
+ SQL (0.2ms) DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
2856
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2857
+  (0.1ms) SAVEPOINT active_record_1
2858
+ 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"]]
2859
+ SQL (0.1ms) DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
2860
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2861
+  (0.2ms) rollback transaction
2862
+  (0.1ms) begin transaction
2863
+  (0.0ms) commit transaction
2864
+  (0.1ms) begin transaction
2865
+  (0.1ms) SAVEPOINT active_record_1
2866
+ SQL (0.3ms) INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:05.975364"], ["updated_at", "2014-10-29 21:07:05.975364"]]
2867
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
2868
+ SQL (0.2ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "a4a73f88-d5b5-4b73-9343-9b3826115577"]]
2869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2870
+  (0.2ms) rollback transaction
2871
+  (0.1ms) begin transaction
2872
+  (0.1ms) commit transaction
2873
+  (0.0ms) begin transaction
2874
+  (0.1ms) SAVEPOINT active_record_1
2875
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:05.985604"], ["updated_at", "2014-10-29 21:07:05.985604"]]
2876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2877
+  (0.1ms) SAVEPOINT active_record_1
2878
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "c2471606-2dda-425b-99b8-2f6732f4ba8c"]]
2879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2880
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
2881
+  (0.2ms) rollback transaction
2882
+  (0.1ms) begin transaction
2883
+  (0.0ms) commit transaction
2884
+  (0.1ms) begin transaction
2885
+  (0.1ms) SAVEPOINT active_record_1
2886
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:05.993582"], ["updated_at", "2014-10-29 21:07:05.993582"]]
2887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2888
+  (0.1ms) SAVEPOINT active_record_1
2889
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "517fb745-1a1d-47d2-a85a-344564ef3baf"]]
2890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2891
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
2892
+  (0.1ms) SAVEPOINT active_record_1
2893
+ Record Load (0.1ms) SELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1 [["id", 1]]
2894
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2895
+ Uuids::Uuid Load (0.1ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
2896
+  (0.2ms) rollback transaction
2897
+  (0.1ms) begin transaction
2898
+  (0.0ms) commit transaction
2899
+  (0.1ms) begin transaction
2900
+  (0.1ms) SAVEPOINT active_record_1
2901
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:06.001290"], ["updated_at", "2014-10-29 21:07:06.001290"]]
2902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2903
+  (0.1ms) SAVEPOINT active_record_1
2904
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "25789a7f-9516-49c4-bcca-9a9a1aa414b5"]]
2905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2906
+  (0.1ms) SAVEPOINT active_record_1
2907
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2908
+  (0.2ms) rollback transaction
2909
+  (0.1ms) begin transaction
2910
+  (0.0ms) commit transaction
2911
+  (0.1ms) begin transaction
2912
+  (0.1ms) SAVEPOINT active_record_1
2913
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:06.007881"], ["updated_at", "2014-10-29 21:07:06.007881"]]
2914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2915
+  (0.1ms) SAVEPOINT active_record_1
2916
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "090c7254-32db-47bb-b806-00b47e75090e"]]
2917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2918
+  (0.1ms) SAVEPOINT active_record_1
2919
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2920
+  (0.2ms) rollback transaction
2921
+  (0.1ms) begin transaction
2922
+  (0.1ms) commit transaction
2923
+  (0.0ms) begin transaction
2924
+  (0.1ms) SAVEPOINT active_record_1
2925
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:06.013629"], ["updated_at", "2014-10-29 21:07:06.013629"]]
2926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2927
+  (0.1ms) rollback transaction
2928
+  (0.1ms) begin transaction
2929
+  (0.0ms) commit transaction
2930
+  (0.1ms) begin transaction
2931
+  (0.1ms) SAVEPOINT active_record_1
2932
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:06.017499"], ["updated_at", "2014-10-29 21:07:06.017499"]]
2933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2934
+  (0.1ms) rollback transaction
2935
+  (0.1ms) begin transaction
2936
+  (0.0ms) commit transaction
2937
+  (0.1ms) begin transaction
2938
+  (0.1ms) SAVEPOINT active_record_1
2939
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:06.021122"], ["updated_at", "2014-10-29 21:07:06.021122"]]
2940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2941
+  (0.1ms) rollback transaction
2942
+  (0.1ms) begin transaction
2943
+  (0.0ms) commit transaction
2944
+  (0.0ms) begin transaction
2945
+  (0.1ms) SAVEPOINT active_record_1
2946
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:06.024343"], ["updated_at", "2014-10-29 21:07:06.024343"]]
2947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2948
+  (0.1ms) SAVEPOINT active_record_1
2949
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "c0309073-a830-4f0c-ae39-999cef68e2ee"]]
2950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2951
+ Uuids::Uuid Load (0.0ms) SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
2952
+  (0.2ms) rollback transaction
2953
+  (0.1ms) begin transaction
2954
+  (0.1ms) commit transaction
2955
+  (0.0ms) begin transaction
2956
+  (0.1ms) SAVEPOINT active_record_1
2957
+ SQL (0.3ms) INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-29 21:07:06.029350"], ["updated_at", "2014-10-29 21:07:06.029350"]]
2958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2959
+  (0.1ms) SAVEPOINT active_record_1
2960
+ SQL (0.3ms) INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "ec00f10c-ecf7-4326-b544-72a50c252c76"]]
2961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2962
+  (0.2ms) rollback transaction