Connecting to database specified by database.yml  (270.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (102.5ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateFoos (20130612135708)  (132.8ms) CREATE TABLE `foos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612135708') Migrating to CreateUuidifyUuids (20130612143347)  (138.7ms) CREATE TABLE `uuidify_uuids` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `model_name` varchar(255), `model_id` int(11)) ENGINE=InnoDB  (109.7ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BINARY(16)  (133.3ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_name_and_model_id` ON `uuidify_uuids` (`model_name`, `model_id`)  (129.9ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid` ON `uuidify_uuids` (`model_uuid`)  (128.0ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid_and_model_id` ON `uuidify_uuids` (`model_uuid`, `model_id`)  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612143347') Migrating to CreateBars (20130613135222)  (119.4ms) CREATE TABLE `bars` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130613135222')  (0.3ms) SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' SQL (0.2ms) SHOW CREATE TABLE `bars` SQL (0.1ms) SHOW CREATE TABLE `foos` SQL (0.1ms) SHOW CREATE TABLE `schema_migrations` SQL (0.1ms) SHOW CREATE TABLE `uuidify_uuids`  (0.1ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'Foo', x'3117f98e374011e3a3a970cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (2, 'Foo', x'311ecbb0374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (3, 'Foo', x'311f9b08374011e3a3a970cd60fffe2a')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1  (39.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 4 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (4, 'Foo', x'3126c734374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'3126c734374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 4 LIMIT 1  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (5, 'Baz', '--- !ruby/object:UUIDTools::UUID\ntime_low: 824686308\ntime_mid: 14144\ntime_hi_and_version: 4579\nclock_seq_hi_and_reserved: 163\nclock_seq_low: 169\nnodes:\n- 112\n- 205\n- 96\n- 255\n- 254\n- 42\n')  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'3127b6e4374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (2.6ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (6, 'Foo', x'312914bc374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1 SQL (0.3ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 6 SQL (0.3ms) DELETE FROM `foos` WHERE `foos`.`id` = 6  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312914bc374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 7 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (7, 'Foo', x'312a541c374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 7 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312a541c374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 7 LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `bars` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 8 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (8, 'Foo', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) UPDATE `uuidify_uuids` SET `model_uuid` = '1,á–7@㣩pÍ`ÿþ*' WHERE `uuidify_uuids`.`id` = 8 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312ce196374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 8 LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (9, 'Foo', x'312e0314374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1 SQL (0.1ms) UPDATE `uuidify_uuids` SET `model_uuid` = '1.>$7@㣩pÍ`ÿþ*' WHERE `uuidify_uuids`.`id` = 9 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312e3e24374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 9 LIMIT 1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'312e0314374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (27.7ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (10, 'Foo', x'31335d1e374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 11 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (11, 'Foo', x'3133ccc2374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 12 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (12, 'Foo', x'31343e32374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1 SQL (0.4ms) DELETE FROM `foos` WHERE `foos`.`id` = 10 Uuidify::Uuid Load (0.4ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.3ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 10 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 10  (0.2ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 11 LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 12 LIMIT 1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'31335d1e374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 13 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (13, 'Foo', x'3138747a374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (14, 'Foo', x'3138e4be374011e3a3a970cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 15 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (15, 'Foo', x'31396bfa374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 13 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 13  (0.0ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 15 LIMIT 1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'3138e4be374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1  (9.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 16 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (16, 'Foo', x'313c3a06374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (17, 'Foo', x'313ca96e374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1  (2.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (18, 'Foo', x'313d1052374011e3a3a970cd60fffe2a')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1 SQL (0.3ms) DELETE FROM `foos` WHERE `foos`.`id` = 18 Uuidify::Uuid Load (0.2ms) SELECT model_name FROM `uuidify_uuids` GROUP BY model_name Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.3ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 16 LIMIT 1 Foo Load (0.3ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1 Foo Load (0.3ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 18 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 18  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'313ca96e374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'313d1052374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (19, 'Foo', x'314399a4374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 20 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (20, 'Foo', x'31440236374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2013-10-17 15:24:19', '2013-10-17 15:24:19')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 21 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (21, 'Foo', x'31446424374011e3a3a970cd60fffe2a')  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'NonexistantClass', '--- !ruby/object:UUIDTools::UUID\ntime_low: 826583668\ntime_mid: 14144\ntime_hi_and_version: 4579\nclock_seq_hi_and_reserved: 163\nclock_seq_low: 169\nnodes:\n- 112\n- 205\n- 96\n- 255\n- 254\n- 42\n')  (0.0ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.1ms) SELECT model_name FROM `uuidify_uuids` GROUP BY model_name Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 19 LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 20 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 21 LIMIT 1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'NonexistantClass'  (0.2ms) SELECT COUNT(*) FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'NonexistantClass' Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'314399a4374011e3a3a970cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 19 LIMIT 1  (10.1ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (74.4ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (144.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateFoos (20130612135708)  (125.4ms) CREATE TABLE `foos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612135708') Migrating to CreateUuidifyUuids (20130612143347)  (123.3ms) CREATE TABLE `uuidify_uuids` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `model_name` varchar(255), `model_id` int(11)) ENGINE=InnoDB  (112.8ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BINARY(16)  (148.7ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_name_and_model_id` ON `uuidify_uuids` (`model_name`, `model_id`)  (148.3ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid` ON `uuidify_uuids` (`model_uuid`)  (171.4ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid_and_model_id` ON `uuidify_uuids` (`model_uuid`, `model_id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612143347') Migrating to CreateBars (20130613135222)  (357.4ms) CREATE TABLE `bars` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130613135222')  (0.5ms) SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' SQL (0.4ms) SHOW CREATE TABLE `bars` SQL (0.3ms) SHOW CREATE TABLE `foos` SQL (0.1ms) SHOW CREATE TABLE `schema_migrations` SQL (0.1ms) SHOW CREATE TABLE `uuidify_uuids`  (0.3ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'Foo', x'60f2fdd6a3a911e3888570cd60fffe2a')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (15.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (2, 'Foo', x'60fc6812a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (3, 'Foo', x'60fd3c2ea3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (4, 'Foo', x'60fe4182a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'60fe4182a3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 4 LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (5, 'Baz', '--- !ruby/object:UUIDTools::UUID\ntime_low: 1627331980\ntime_mid: 41897\ntime_hi_and_version: 4579\nclock_seq_hi_and_reserved: 136\nclock_seq_low: 133\nnodes:\n- 112\n- 205\n- 96\n- 255\n- 254\n- 42\n') Mysql2::Error: Data too long for column 'model_uuid' at row 1: INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (5, 'Baz', '--- !ruby/object:UUIDTools::UUID\ntime_low: 1627331980\ntime_mid: 41897\ntime_hi_and_version: 4579\nclock_seq_hi_and_reserved: 136\nclock_seq_low: 133\nnodes:\n- 112\n- 205\n- 96\n- 255\n- 254\n- 42\n')  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (6, 'Foo', x'6100175aa3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1 SQL (0.2ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 5 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'6100175aa3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (7, 'Foo', x'610169b6a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM `foos` WHERE `foos`.`id` = 7 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'610169b6a3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 7 LIMIT 1  (25.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `bars` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (8, 'Foo', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE `uuidify_uuids` SET `model_uuid` = 'a—¤£©㈅pÍ`ÿþ*' WHERE `uuidify_uuids`.`id` = 7 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'610897a4a3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 8 LIMIT 1  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (9, 'Foo', x'610a036ea3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'610a49bea3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 9 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'610a036ea3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (2.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (10, 'Foo', x'610bbac4a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (11, 'Foo', x'610c42b4a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (12, 'Foo', x'610cbe4ca3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1 SQL (0.2ms) DELETE FROM `foos` WHERE `foos`.`id` = 10 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 11 LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 12 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'610bbac4a3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (13, 'Foo', x'610e37d6a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (14, 'Foo', x'610eb9aea3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (15, 'Foo', x'610f350aa3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 13 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 12  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 15 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'610eb9aea3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1  (23.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (16, 'Foo', x'611448d8a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (17, 'Foo', x'6114cfbaa3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (18, 'Foo', x'61154b0ca3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 18 Uuidify::Uuid Load (0.2ms) SELECT model_name FROM `uuidify_uuids` GROUP BY model_name Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 16 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 17  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'6114cfbaa3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'61154b0ca3a911e3888570cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (19, 'Foo', x'61172a44a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (20, 'Foo', x'6117ac76a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 14:29:22', '2014-03-04 14:29:22')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (21, 'Foo', x'611cdb24a3a911e3888570cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'NonexistantClass', '--- !ruby/object:UUIDTools::UUID\ntime_low: 1629318670\ntime_mid: 41897\ntime_hi_and_version: 4579\nclock_seq_hi_and_reserved: 136\nclock_seq_low: 133\nnodes:\n- 112\n- 205\n- 96\n- 255\n- 254\n- 42\n') Mysql2::Error: Data too long for column 'model_uuid' at row 1: INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'NonexistantClass', '--- !ruby/object:UUIDTools::UUID\ntime_low: 1629318670\ntime_mid: 41897\ntime_hi_and_version: 4579\nclock_seq_hi_and_reserved: 136\nclock_seq_low: 133\nnodes:\n- 112\n- 205\n- 96\n- 255\n- 254\n- 42\n')  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (56.3ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.1ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (1.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BINARY(16) PG::UndefinedObject: ERROR: type "binary" does not exist LINE 1: ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BINARY(16) ^ : ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BINARY(16)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (27.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (1.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA(16) PG::SyntaxError: ERROR: type modifier is not allowed for type "bytea" LINE 1: ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA(16) ^ : ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA(16)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (5.2ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (21.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (2.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.2ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.6ms) COMMIT  (0.5ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xD4\xDB\xCF\x16\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xD4\xDF\x89\xEE\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xD4\xE0t&\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (116.1ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xD4\xF3e\xEA\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd4f365eaa3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd4f4635aa3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xD4\xF5z\xA6\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.5ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd4f57aa6a3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xD4\xF6\xEFb\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd4f6ef62a3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xd4 0xfd : UPDATE "uuidify_uuids" SET "model_uuid" = 'Ôý~£©ãïpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xD4\xFE\xA8\x1A\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xd4 0xfe : UPDATE "uuidify_uuids" SET "model_uuid" = 'Ôþõþ£©ãïpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xD4\xFF\xA7\x9C\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xD5\x005\xD6\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xD5\x00\xBE\f\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd4ffa79ca3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xD5\x02\xB6&\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\xD5\x03\x87\x86\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\xD5\x04(l\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd5038786a3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\xD5\x05\xF5\xAC\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\xD5\x06\x8B\xB6\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\xD5\a\eb\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd5068bb6a3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd5071b62a3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\xD5\t/$\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\xD5\t\xC2\xCC\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:32:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\xD5\nOv\xA3\xA9\x11\xE3\x8D\xEFp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xd5092f24a3a911e38def70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (27.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (0.9ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (7.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.1ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (0.9ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (29.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (15.6ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.0ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (33.4ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (3.0ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "9\xC8F\xF2\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "9\xCB\xD5\x1A\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "9\xCC\xC6(\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "9\xCD\xE9h\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39cde968a3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39ceeef8a3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "9\xD0\x05\xCC\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.6ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39d005cca3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "9\xD1\x8C\xD0\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39d18cd0a3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xd8 0x11 : UPDATE "uuidify_uuids" SET "model_uuid" = '9Ø®£ªã ²pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "9\xD9>\xF8\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x9a : UPDATE "uuidify_uuids" SET "model_uuid" = '9Ùˆš£ªã ²pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "9\xDA<\xC2\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "9\xDA\xD0\xEC\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "9\xDBW\xEC\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39da3cc2a3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "9\xDD\x03\xEE\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "9\xDD\x94\xDA\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "9\xDE\x1E\x82\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39dd94daa3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "9\xDF\xCD@\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "9\xE0Ub\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "9\xE0\xDC\xF8\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39e05562a3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39e0dcf8a3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "9\xE2\xEF\x98\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "9\xE3}\xE6\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:35:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "9\xE4\b\xD8\xA3\xAA\x11\xE3\xA0\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39e2ef98a3aa11e3a0b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (18.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (3.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.3ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (5.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.9ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "S\xE6\xF8\xE4\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "S\xEAq\xC2\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "S\xEBO\xFC\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "S\xECmB\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x53ec6d42a3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.6ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x53ed6c88a3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "S\xEEsv\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x53ee7376a3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "S\xEF\xE5\xF8\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x53efe5f8a3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xf6 0x47 0x4a 0xa3 : UPDATE "uuidify_uuids" SET "model_uuid" = 'SöGJ£ªã‡TpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "S\xF7o&\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xf7 0xba 0xb2 0xa3 : UPDATE "uuidify_uuids" SET "model_uuid" = 'S÷º²£ªã‡TpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "S\xF8o\x16\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "S\xF9\x00f\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "S\xF9\x89x\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x53f86f16a3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "S\xFB&z\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "S\xFB\xB8\x92\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "S\xFCAT\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x53fbb892a3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "S\xFD\xEE\xD2\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "S\xFE\x824\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "S\xFF\t\xDE\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x53fe8234a3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x53ff09dea3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "T\x01\x1E6\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "T\x01\xB2\xCE\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "T\x02<\xDA\xA3\xAA\x11\xE3\x87Tp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x54011e36a3aa11e3875470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (1.1ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.5ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (2.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "y1\xEC\xD0\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "y5\x94\x16\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "y6y\xD0\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "y7\x9E\xAA\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x79379eaaa3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x7938a638a3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "y9\xB7&\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x7939b726a3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "y;'\xBE\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x793b27bea3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x93 : UPDATE "uuidify_uuids" SET "model_uuid" = 'yA“£ªã—(pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "yB\xBDv\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x97 0x28 : UPDATE "uuidify_uuids" SET "model_uuid" = 'yC 죪ã—(pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "yC\xBE.\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "yDP\x00\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "yD\xDA\xDE\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x7943be2ea3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "yF\x80\xB4\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "yG\x11Z\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "yG\x97\xE2\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x7947115aa3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "yI<\xC8\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "yI\xD1B\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "yJZT\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x7949d142a3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x794a5a54a3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "yLe\xB0\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "yL\xF7x\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:37:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "yM\x7F\x90\xA3\xAA\x11\xE3\x97(p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x794c65b0a3aa11e3972870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (14.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.4ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.3ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (16.8ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xA3X\x84\xF6\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xA3]\x04\x04\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xA3]\xE3\xC4\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xA3^\xFA\xF2\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa35efaf2a3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa35ff678a3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xA3`\xE1\n\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa360e10aa3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xA3bE\xF4\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa36245f4a3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xa3 : UPDATE "uuidify_uuids" SET "model_uuid" = '£dØ2£ªã¯qpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xA3e\xF2\x80\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xa3 : UPDATE "uuidify_uuids" SET "model_uuid" = '£f9Ž£ªã¯qpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xA3f\xE9\xBA\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xA3g\x90J\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xA3h,\x80\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa366e9baa3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xA3i\xEB`\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\xA3j\x80\xAC\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\xA3k\x132\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa36a80aca3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\xA3l\xC9R\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\xA3m`\x92\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\xA3m\xFB~\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa36d6092a3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa36dfb7ea3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\xA3p4\xD4\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\xA3p\xCE\b\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:38:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\xA3qg\n\xA3\xAA\x11\xE3\xAFqp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xa37034d4a3aa11e3af7170cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (25.1ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.3ms) BEGIN  (4.6ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.0ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.2ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xF4a\x9Bb\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xF4e\x01N\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xF4e\xD9\xF2\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xF4f\xEE\xDC\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf466eedca3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf467e990a3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xF4h\xCF\xFE\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf468cffea3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xF4j6\n\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf46a360aa3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xf4 0x6c 0xb3 0xa8 : UPDATE "uuidify_uuids" SET "model_uuid" = 'ôl³¨£ªã–²pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xF4m\xD0\xEE\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xf4 0x6e 0x21 0xc0 : UPDATE "uuidify_uuids" SET "model_uuid" = 'ôn!À£ªã–²pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xF4n\xE7\x9A\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xF4pp\xCE\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xF4q\b\xCC\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf46ee79aa3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xF4r\xB7:\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\xF4sI \xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\xF4s\xDE\xBC\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf4734920a3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\xF4u\xBFz\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\xF4v\\\x14\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\xF4v\xFBL\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.9ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf4765c14a3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf476fb4ca3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\xF4yr\x1E\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\xF4z\nX\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\xF4z\x9B\b\xA3\xAA\x11\xE3\x96\xB2p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf479721ea3aa11e396b270cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (31.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.6ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.5ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (30.4ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (3.3ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:42:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:42:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "D\xC0\xA6\xF2\xA3\xAB\x11\xE3\x83]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x44c71096a3ab11e3833c70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:42:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:42:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "D\xC7\xF4R\xA3\xAB\x11\xE3\x83]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x44d7bd10a3ab11e3833c70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 18]]  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (31.5ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.3ms) BEGIN  (3.2ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.4ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "M\x85FN\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "M\x88\x98\xC6\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "M\x89q\x9C\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "M\x8A\x83\xDE\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d8a83dea3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d8b7e60a3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "M\x8Cl\xF8\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d8c6cf8a3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "M\x8D\xD8\xFE\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d8dd8fea3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", "M\x91\x02\x04\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "M\x91\x9Bj\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "M\x92:H\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 8 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 9 LIMIT 1 Foo Load (5.4ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d910204a3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "M\x95\x054\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "M\x95\x9A\xE4\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "M\x96+D\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 11 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d959ae4a3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 12]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "M\x97\xE08\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "M\x98o\x80\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "M\x99\x02\xCE\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 16 Uuidify::Uuid Load (0.6ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d986f80a3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 15]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d9902cea3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "M\x9Bp\xB8\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "M\x9C\x04`\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "M\x9C\x994\xA3\xAB\x11\xE3\xAF\xDBp\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x4d9b70b8a3ab11e3afdb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (20.2ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (3.0ms) COMMIT  (0.7ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "ep\xA2v\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "et\eh\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "eu\x06\x90\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "ev.\x8A\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x65762e8aa3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x65773212a3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "ex\x1A\x1A\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.5ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x65781a1aa3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "ey\x8B\x02\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x65798b02a3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xa2 : UPDATE "uuidify_uuids" SET "model_uuid" = 'e|$¢£«ãŠIpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "e~0\xB2\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x81 : UPDATE "uuidify_uuids" SET "model_uuid" = 'e~˜£«ãŠIpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "e\x7FA\xBE\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "e\x7F\xE4f\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "e\x80~\x94\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x657f41bea3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "e\x823\xBA\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "e\x82\xCB\xFE\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "e\x83a\xFE\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x6582cbfea3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "e\x85+\xBA\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "e\x85\xC8\xA4\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "e\x86\\.\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x6585c8a4a3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x65865c2ea3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "e\x88\xA3\x12\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "e\x89S\xC0\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:43:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "e\x8A\x00,\xA3\xAB\x11\xE3\x8AIp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x6588a312a3ab11e38a4970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (25.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.9ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\x1A\xD7Z\xBA\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\x1A\xDA\xDA\x1E\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\x1A\xDB\xB7\xD6\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\x1A\xDC\xCC4\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1adccc34a3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1addd1b0a3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\x1A\xDE\xBC\xE2\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1adebce2a3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\x1A\xE0\x1Ch\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1ae01c68a3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xe2 0x93 0x44 : UPDATE "uuidify_uuids" SET "model_uuid" = 'â“D£¬ã³ÎpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\x1A\xE4\x9E\xE6\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xe4 0xeb 0x9e : UPDATE "uuidify_uuids" SET "model_uuid" = 'ä랣¬ã³ÎpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\x1A\xE5\xB7\xEA\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\x1A\xE6S:\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\x1A\xE6\xEFf\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1ae5b7eaa3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\x1A\xE8\x9F\xA0\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\x1A\xE93*\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\x1A\xE9\xC8b\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1ae9332aa3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.4ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\x1A\xEB\x95\xC0\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\x1A\xEC/\x80\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\x1A\xEC\xC5N\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1aec2f80a3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1aecc54ea3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\x1A\xEE\xEDV\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\x1A\xEF\x85^\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:48:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\x1A\xF0\x1E\xCE\xA3\xAC\x11\xE3\xB3\xCEp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1aeeed56a3ac11e3b3ce70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (26.5ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (5.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.0ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (0.9ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "%\e\xA6\x16\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "%\x1F\t\x00\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "%\x1F\xDC\x9A\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "% \xED.\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x2520ed2ea3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x2521e56ca3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "%\"\xCC\xFC\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x2522ccfca3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "%$)N\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x2524294ea3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x85 : UPDATE "uuidify_uuids" SET "model_uuid" = '%&…†£¬㸵pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "%'\xA4\x84\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xf4 0xf2 0xa3 0xac : UPDATE "uuidify_uuids" SET "model_uuid" = '%''ôò£¬㸵pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "%(\xB9\x82\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "%*Dd\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "%*\xDF\x00\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x2528b982a3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "%,\x96L\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "%-/b\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "%-\xC82\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x252d2f62a3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "%/\x85F\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "%0\e\xC8\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "%0\xAE\xEE\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.6ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x25301bc8a3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x2530aeeea3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "%2\xE3\xD0\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "%3|<\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:49:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "%4\v*\xA3\xAC\x11\xE3\xB8\xB5p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x2532e3d0a3ac11e3b8b570cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (31.6ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.3ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.0ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.2ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (5.2ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xF83\a\xA6\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xF86v*\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xF87[\x1C\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xF88}v\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf8387d76a3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf83984c8a3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xF8:ql\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.5ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf83a716ca3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xF8;\xEB\xC8\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf83bebc8a3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xf8 : UPDATE "uuidify_uuids" SET "model_uuid" = 'ø>c¼£¬ã¨>pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xF8@o\xFE\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xf8 : UPDATE "uuidify_uuids" SET "model_uuid" = 'ø@½¦£¬ã¨>pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xF8A\x9A(\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xF8B1\x0E\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xF8B\xC6Z\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf8419a28a3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xF8Dy\x14\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\xF8E\x10\xA4\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\xF8E\xA4`\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf84510a4a3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\xF8Gln\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\xF8G\xFF\xD0\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\xF8H\x90l\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf847ffd0a3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf848906ca3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\xF8J\xB4\xD2\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\xF8KM\\\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:55:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\xF8K\xE4\x88\xA3\xAC\x11\xE3\xA8>p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xf84ab4d2a3ac11e3a83e70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (26.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.2ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.9ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.1ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.6ms) COMMIT  (0.7ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\e\"\xBB\xDA\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\e&6\xC0\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\e'\a\xA8\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\e(\x1F:\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b281f3aa3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b291a34a3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\e*\bT\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b2a0854a3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\e+t\x00\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b2b7400a3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xd4 0xfc : UPDATE "uuidify_uuids" SET "model_uuid" = '-Ôü£­ã?pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\e.\xF6\xAC\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xad : UPDATE "uuidify_uuids" SET "model_uuid" = '/IÖ£­ã?pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\e0\x10\xF0\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\e1\x99\xE8\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\e20\xC4\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b3010f0a3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\e3\xEF\xD6\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\e4\x8C\f\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\e5#j\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b348c0ca3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\e6\xDB\x9C\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\e7w\x82\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\e8\f\x1A\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.6ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b377782a3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b380c1aa3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\e:;\xF2\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\e:\xD6p\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\e;h\x88\xA3\xAD\x11\xE3\x81?p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x1b3a3bf2a3ad11e3813f70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (27.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.1ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (1.9ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.2ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.6ms) COMMIT  (15.7ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "9Zg\xD8\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "9]\xC1\xEE\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "9^\x9A8\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "9_\xAC\xB6\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x395facb6a3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.4ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x3960a59ea3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "9a\x8A\xAE\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39618aaea3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "9b\xE5\x16\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x3962e516a3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x8e : UPDATE "uuidify_uuids" SET "model_uuid" = '9e`Ž£­ã XpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "9gj\xC8\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xc1 0xc6 : UPDATE "uuidify_uuids" SET "model_uuid" = '9gÁÆ£­ã XpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "9h\x8A \xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "9i%\f\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "9i\xBD<\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x39688a20a3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "9kv\xD6\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "9l\b\xB2\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "9l\x9B\xE2\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x396c08b2a3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "9n]\x10\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "9n\xEF\x00\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "9o\x8D \xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.6ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x396eef00a3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x396f8d20a3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "9q\xAE\xF2\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "9rAZ\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:56:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "9r\xD9X\xA3\xAD\x11\xE3\xA0Xp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.4ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x3971aef2a3ad11e3a05870cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (19.1ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.4ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.3ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.3ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.2ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (16.8ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "I\xA3m\xC4\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "I\xA6\xD3t\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "I\xA7\xAC\xA4\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "I\xA8\xB3\xD8\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49a8b3d8a3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49a9b44aa3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "I\xAA\x9D\x10\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49aa9d10a3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "I\xAC\ah\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49ac0768a3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xae : UPDATE "uuidify_uuids" SET "model_uuid" = 'I®ƒ£­ã°ŠpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "I\xAF\xAD\xA0\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xaf : UPDATE "uuidify_uuids" SET "model_uuid" = 'I¯øú£­ã°ŠpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "I\xB0\xAC\n\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "I\xB1I\x8A\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "I\xB1\xE4\xA8\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49b0ac0aa3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "I\xB4s\x12\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "I\xB5\x0FR\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "I\xB5\xAA\xF2\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49b50f52a3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "I\xB7jh\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "I\xB8\x06\xC6\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "I\xB8\x9E.\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49b806c6a3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49b89e2ea3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "I\xBA\xD0r\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "I\xBBe\x00\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "I\xBB\xFD\x80\xA3\xAD\x11\xE3\xB0\x8Ap\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x49bad072a3ad11e3b08a70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (19.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.2ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.0ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\x9D>iR\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\x9DA\xE7\xBC\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\x9DB\xCD:\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\x9DC\xEF\b\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d43ef08a3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d44f1b4a3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\x9DE\xE1\x1E\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d45e11ea3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\x9DGUb\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d475562a3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x9d : UPDATE "uuidify_uuids" SET "model_uuid" = 'IÖÀ£­㙄pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\x9DK\xEC\xBC\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x9d : UPDATE "uuidify_uuids" SET "model_uuid" = 'L;J£­㙄pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\x9DM\x0E\x94\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\x9DM\xB4z\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\x9DNQ<\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d4d0e94a3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\x9DP\x10\x8A\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\x9DP\xA8\xF6\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\x9DQDF\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d50a8f6a3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\x9DS\x0F\xCE\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\x9DS\xA6\xF0\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\x9DT7\x82\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d53a6f0a3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d543782a3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\x9DVd\xBC\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\x9DW\x01~\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 14:59:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\x9DW\x9F\xDA\xA3\xAD\x11\xE3\x99\x84p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\x9d5664bca3ad11e3998470cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (14.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.2ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (10.0ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xB7\x86X\x1A\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xB7\x89\xCA\xB8\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xB7\x8A\xA7\xEE\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xB7\x8B\xBA\xF8\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb78bbaf8a3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb78cc402a3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xB7\x8D\xAF\\\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb78daf5ca3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xB7\x8F\x14\x8C\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb78f148ca3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb79183aca3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xB7\x92Md\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xb7 : UPDATE "uuidify_uuids" SET "model_uuid" = '·’™£­ã£ûpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xB7\x93W\xC2\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xB7\x94\x04\xEC\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xB7\x95\x84\xA2\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb79357c2a3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xB7\x97ON\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\xB7\x97\xE1>\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\xB7\x98u\xAE\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb797e13ea3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\xB7\x9A,\xF0\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\xB7\x9A\xC4\xF8\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\xB7\x9B^\xEA\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb79ac4f8a3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb79b5eeaa3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\xB7\x9D\x86H\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\xB7\x9E\x18V\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\xB7\x9E\xAC\xE4\xA3\xAD\x11\xE3\xA3\xFBp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xb79d8648a3ad11e3a3fb70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (1.3ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.0ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (2.8ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.6ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xC1o8\x06\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xC1r\x99B\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xC1st\\\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xC1t\x92j\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc174926aa3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc1759016a3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xC1vx\xF0\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc17678f0a3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xC1w\xDBF\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc177db46a3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc17a632aa3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xC1{.\xA4\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc17b7986a3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xC1|\x18\xDC\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xC1|\xBA\xF8\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xC1}k\xBA\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc17c18dca3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xC1\x7F/|\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\xC1\x7F\xD0\x8A\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\xC1\x80k\x1C\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc17fd08aa3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\xC1\x82@^\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\xC1\x83\x9E\x86\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\xC1\x84=2\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc1839e86a3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc1843d32a3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\xC1\x86w\x14\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\xC1\x87\x11.\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\xC1\x87\xAB>\xA3\xAD\x11\xE3\xB9\xCAp\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xc1867714a3ad11e3b9ca70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (28.4ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.3ms) BEGIN  (3.3ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer)   (2.0ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BYTEA  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.2ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.8ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.7ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xCFl\x99\xDA\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.6ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xCFp\x12\xEA\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xCFp\xF4\x12\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xCFr\x06\xFE\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf7206fea3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf730a68a3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xCFs\xF1\xEE\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf73f1eea3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xCFuR\xF0\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf7552f0a3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xcf 0x77 : UPDATE "uuidify_uuids" SET "model_uuid" = 'Ïwõ¾£­ãšÉpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xCFz\x01\xCE\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xcf 0x7a : UPDATE "uuidify_uuids" SET "model_uuid" = 'ÏzQœ£­ãšÉpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 9  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xCF{\x0F\xCE\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xCF{\xAFB\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xCF|I \xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf7b0fcea3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xCF}\xF6&\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "\xCF~\x98$\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "\xCF\x7F2R\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf7e9824a3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "\xCF\x80\xF8\xBC\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "\xCF\x81\x98\xE4\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "\xCF\x825\xA6\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf8198e4a3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf8235a6a3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "\xCF\x84n\\\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "\xCF\x85\n.\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:01:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "\xCF\x85\x9E\x80\xA3\xAD\x11\xE3\x9A\xC9p\xCD`\xFF\xFE*"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass'  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '\xcf846e5ca3ad11e39ac970cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (12.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.3ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (2.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (2.7ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (6.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.6ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\x87\x17\xFC\x8C\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\x87\ef$\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\x87\x1C\x17\xFE\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\x87\x1C\xE9\xEA\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\x87\x1E@\xC4\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\x87\x1E\xEFB\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : UPDATE "uuidify_uuids" SET "model_uuid" = '‡! Ž£®ã€ÊpÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\x87\"C,\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\x87\"\xFC|\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\x87#\xA2\x8A\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\x87$N.\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:06:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\x87%\x00b\xA3\xAE\x11\xE3\x80\xCAp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x87 : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (28.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.4ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.1ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (0.9ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xAB\x0E N\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xAB\x11\x86:\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xAB\x126>\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xAB\x13\x10\xEA\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xAB\x14i\xB8\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xAB\x15\x18\x04\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : UPDATE "uuidify_uuids" SET "model_uuid" = '«%Ì£®ã—'pÍ`ÿþ*' WHERE "uuidify_uuids"."id" = 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xAB\x18d\xDC\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xAB\x19!t\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xAB\x19\xCB\xC4\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xAB\x1At*\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xAB\e(\xAC\xA3\xAE\x11\xE3\x97'p\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xab : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (29.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.1ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.3ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (28.2ms) COMMIT  (16.8ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xBCy\x86*\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xBC|\xF8\xD2\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xBC}\xAC\x96\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xBC~\x82B\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xBC\x7F\xDF\xDE\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xBC\x80\x8F\xF6\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'bc82a49e-a3ae-11e3-9b9a-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '¼‚¤ž£®㛚pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xBC\x84\x03\x84\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xBC\x84\xB9\x14\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xBC\x85f\x8E\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xBC\x86\x10p\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xBC\x86\xBD\xA4\xA3\xAE\x11\xE3\x9B\x9Ap\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xbc : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (32.4ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.4ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.3ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (7.1ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "\xFD=\x13\xB6\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "\xFD@UN\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "\xFDA\b\xD6\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "\xFDA\xD3$\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "\xFDC(\xFA\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "\xFDC\xD1\xC4\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'fd45d6ea-a3ae-11e3-89fe-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'ýEÖ꣮ã‰þpÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "\xFDGA~\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "\xFDG\xF5L\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "\xFDH\xA9\xB0\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "\xFDIX\x9C\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:09:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "\xFDJ\x05\xA8\xA3\xAE\x11\xE3\x89\xFEp\xCD`\xFF\xFE*"]] PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xfd : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (25.0ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.6ms) BEGIN  (3.3ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (0.9ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:40 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:40 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:40 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.2ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "uuidify_uuids" SET "model_uuid" = '266a1db0-a3af-11e3-99ac-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xb0 : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '&j°£¯㙬pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:10:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (26.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.3ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.0ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (7.5ms) COMMIT  (16.0ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "43dc2aa0-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "43df91ea-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "43e06e1c-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "43e18a5e-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xe1 0x8a 0x5e : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'CáŠ^£¯ã®pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "43e3337c-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 5]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xe3 0x33 0x7c : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'Cã3|£¯ã®pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "43e49866-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xe4 0x98 0x66 : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'Cä˜f£¯ã®pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = '43e70b5a-a3af-11e3-ae08-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 7 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xe7 0x0b 0x5a : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'Cç Z£¯ã®pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "43e86900-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = '43e992bc-a3af-11e3-ae08-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xa3 : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'Cé’¼£¯ã®pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "43ea670a-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "43eb0994-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "43eba6ba-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xea 0x67 0x0a : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'Cêg £¯ã®pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "43ed6ebe-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "43ee0982-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "43eea086-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xee 0x09 0x82 : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'Cî ‚£¯ã®pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "43f04418-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "43f0e21a-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "43f17644-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Could not log "sql.active_record" event. ArgumentError: invalid byte sequence in UTF-8 PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0xf0 0xe2 0x1a 0xa3 : SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'Cð⣯ã®pÍ`ÿþ*' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "43f373cc-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "43f417fa-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:11:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "43f4b714-a3af-11e3-ae08-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (30.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (6.6ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.9ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.6ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "7e446c52-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "7e47d608-a3af-11e3-a485-70cd60fffe2a"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "7e48afba-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "7e49d656-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "7e4b66d8-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 5]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "7e4cb628-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "uuidify_uuids" SET "model_uuid" = '7e4efcb2-a3af-11e3-a485-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 7  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "7e502d58-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = '7e507b1e-a3af-11e3-a485-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "7e513a68-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "7e51e94a-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "7e538426-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "7e553820-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "7e55d514-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "7e566e84-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "7e57fde4-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "7e5896d2-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "7e593506-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "7e5b1c36-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "7e5bb48e-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "7e5c4886-a3af-11e3-a485-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.6ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (27.0ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.3ms) BEGIN  (4.5ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (0.9ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.0ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (3.1ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.7ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:13:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (1.9ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.3ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.0ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (16.7ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (36.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.8ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:14:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (16.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.1ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.2ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.8ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (4.3ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.7ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:15:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.1ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (0.9ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (28.8ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (3.2ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (2.9ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:16:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (21.1ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.1ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:17:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (28.0ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.3ms) BEGIN  (3.6ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (2.9ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "36e4c180-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "36e84a12-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "36e92c70-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "36ea425e-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36ea425e-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "36ec17c8-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 5]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36ec17c8-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "36ed7974-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36ed7974-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = '36eff2b2-a3b0-11e3-951c-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36eff2b2-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 8]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "36f24332-a3b0-11e3-951c-70cd60fffe2a"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.6ms) UPDATE "uuidify_uuids" SET "model_uuid" = '36f295b2-a3b0-11e3-951c-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36f295b2-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 9]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36f24332-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "36f3ac9a-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "36f450e6-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "36f4f136-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36f3ac9a-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "36f69fe0-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "36f7334c-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "36f7cbc2-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36f7334c-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "36f9878c-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "36fa16d4-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "36fab3b4-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36fa16d4-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '36fab3b4-a3b0-11e3-951c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "36fcd72a-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "36fd6faa-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:18:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "36fe06fe-a3b0-11e3-951c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (25.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.3ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.9ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "dcfbe242-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "dcff72c2-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "dd00534a-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "dd0170c2-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd0170c2-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "dd03467c-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.5ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 5]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd03467c-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "dd04a90e-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd04a90e-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'dd073c0a-a3b0-11e3-bb82-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd073c0a-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 8]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "dd08a14e-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'dd08f23e-a3b0-11e3-bb82-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd08f23e-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 9]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd08a14e-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "dd0a02fa-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "dd0aab9c-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "dd0b4c96-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd0a02fa-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "dd0de744-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "dd0e85fa-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "dd0f21fe-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd0e85fa-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "dd10e62e-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "dd1180c0-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "dd121c10-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.6ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd1180c0-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'dd121c10-a3b0-11e3-bb82-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "dd145ff2-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "dd14f9d0-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "dd1598b8-a3b0-11e3-bb82-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (0.9ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (26.8ms) COMMIT Migrating to CreateBars (20130613135222)  (0.3ms) BEGIN  (3.6ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.5ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "e7b41a1a-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "e7b7a37e-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "e7b87ede-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "e7b98d38-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7b98d38-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "e7bb6608-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 5]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7bb6608-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "e7bcd218-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7bcd218-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'e7bf4822-a3b0-11e3-9a1a-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7bf4822-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 8]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "e7c19c6c-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'e7c1eed8-a3b0-11e3-9a1a-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7c1eed8-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 9]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7c19c6c-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "e7c302f0-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "e7c3a2d2-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "e7c43f44-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 9]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7c302f0-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "e7c5f1cc-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "e7c68d3a-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "e7c722ae-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7c68d3a-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.4ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "e7c8e4d6-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "e7c97edc-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "e7ca19c8-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.6ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7c97edc-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'e7ca19c8-a3b0-11e3-9a1a-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "e7cc4022-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "e7ccd82a-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:23:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "e7cd6e16-a3b0-11e3-9a1a-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", #]] PG::StringDataRightTruncation: ERROR: value too long for type character varying(36) : INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (21.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (0.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (0.9ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (0.9ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "07588842-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "075be15e-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "075cb9b2-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "075dd4d2-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '075dd4d2-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.6ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", "075ed2b0-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '075ed2b0-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "075f9b50-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '075f9b50-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "076101b6-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '076101b6-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "uuidify_uuids" SET "model_uuid" = '0763827e-a3b1-11e3-b80b-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '0763827e-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 8]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "0765d416-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = '076622ae-a3b1-11e3-b80b-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 9 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '076622ae-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 9]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '0765d416-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "076730fe-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "0767c67c-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "0768617c-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '076730fe-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "076a126a-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "076aa87e-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "076b4202-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '076aa87e-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "076d02c2-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "076da06a-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "076e3606-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.6ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '076da06a-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '076e3606-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "07706a5c-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "07710354-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:24:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "0771994a-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", "07720a2e-a3b1-11e3-b80b-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '07706a5c-a3b1-11e3-b80b-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (206.8ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (46.7ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (5.6ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (3.8ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (160.6ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (33.6ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.2ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.3ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.9ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "f893c4e4-a3b4-11e3-a132-70cd60fffe2a"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "f89736e2-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "f8980e3c-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "f8992916-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f8992916-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", "f89a21d6-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f89a21d6-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "f89aedc8-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f89aedc8-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "f89c515e-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f89c515e-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'f89edb40-a3b4-11e3-a132-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f89edb40-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 8]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "f8a12936-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'f8a18084-a3b4-11e3-a132-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 9 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f8a18084-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 9]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f8a12936-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "f8a293b6-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "f8a32f4c-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "f8a3c70e-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f8a293b6-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "f8a5731a-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "f8a60550-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "f8a69bc8-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f8a60550-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "f8a86106-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "f8a8fe18-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "f8a992d8-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f8a8fe18-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f8a992d8-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "f8abc6b6-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "f8ac5e00-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:52:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "f8acfac2-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", "f8ad6872-a3b4-11e3-a132-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'f8abc6b6-a3b4-11e3-a132-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (69.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (150.8ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateFoos (20130612135708)  (150.9ms) CREATE TABLE `foos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612135708') Migrating to CreateUuidifyUuids (20130612143347)  (155.2ms) CREATE TABLE `uuidify_uuids` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `model_name` varchar(255), `model_id` int(11)) ENGINE=InnoDB  (133.5ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BINARY(16)  (125.1ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_name_and_model_id` ON `uuidify_uuids` (`model_name`, `model_id`)  (164.9ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid` ON `uuidify_uuids` (`model_uuid`)  (157.5ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid_and_model_id` ON `uuidify_uuids` (`model_uuid`, `model_id`)  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612143347') Migrating to CreateBars (20130613135222)  (141.3ms) CREATE TABLE `bars` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130613135222')  (0.4ms) SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' SQL (0.3ms) SHOW CREATE TABLE `bars` SQL (0.3ms) SHOW CREATE TABLE `foos` SQL (0.1ms) SHOW CREATE TABLE `schema_migrations` SQL (0.1ms) SHOW CREATE TABLE `uuidify_uuids`  (0.2ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'Foo', x'1c335cb6a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (2, 'Foo', x'1c36a024a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (3, 'Foo', x'1c3776a2a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1  (24.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (4, 'Foo', x'1c3c4470a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c3c4470a3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 4 LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (5, 'Baz', x'31633364326530382d613362352d313165332d623736632d373063643630666666653261') Mysql2::Error: Data too long for column 'model_uuid' at row 1: INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (5, 'Baz', x'31633364326530382d613362352d313165332d623736632d373063643630666666653261')  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (6, 'Foo', x'1c3ddecaa3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1 SQL (0.2ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 5 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c3ddecaa3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (7, 'Foo', x'1c3f0eb2a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM `foos` WHERE `foos`.`id` = 7 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c3f0eb2a3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 7 LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `bars` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:20', '2014-03-04 15:53:20')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (8, 'Foo', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE `uuidify_uuids` SET `model_uuid` = 'AH£µã·lpÍ`ÿþ*' WHERE `uuidify_uuids`.`id` = 7 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c41481ca3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 8 LIMIT 1  (15.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (9, 'Foo', x'1c46e4c0a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1 SQL (0.2ms) UPDATE `uuidify_uuids` SET `model_uuid` = 'G/Þ£µã·lpÍ`ÿþ*' WHERE `uuidify_uuids`.`id` = 8 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c472fdea3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 9 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c46e4c0a3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (21.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (10, 'Foo', x'1c4b67f2a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (11, 'Foo', x'1c4bf6a4a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (12, 'Foo', x'1c4c7e9ea3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 10 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 9  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 11 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 12 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c4b67f2a3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (1.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (13, 'Foo', x'1c4e20d2a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (14, 'Foo', x'1c4eaf66a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (15, 'Foo', x'1c4f36e8a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 13 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 12  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 15 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c4eaf66a3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (16, 'Foo', x'1c50e402a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (17, 'Foo', x'1c516b16a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (18, 'Foo', x'1c51efe6a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 18 Uuidify::Uuid Load (0.2ms) SELECT model_name FROM `uuidify_uuids` GROUP BY model_name Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 16 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 17  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c516b16a3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'1c51efe6a3b511e3b76c70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (36.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (19, 'Foo', x'1c59789ca3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (20, 'Foo', x'1c5a10e0a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:53:21', '2014-03-04 15:53:21')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (21, 'Foo', x'1c5b4820a3b511e3b76c70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'NonexistantClass', x'31633562613931342d613362352d313165332d623736632d373063643630666666653261') Mysql2::Error: Data too long for column 'model_uuid' at row 1: INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'NonexistantClass', x'31633562613931342d613362352d313165332d623736632d373063643630666666653261')  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (53.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (175.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateFoos (20130612135708)  (148.2ms) CREATE TABLE `foos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612135708') Migrating to CreateUuidifyUuids (20130612143347)  (138.2ms) CREATE TABLE `uuidify_uuids` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `model_name` varchar(255), `model_id` int(11)) ENGINE=InnoDB  (142.3ms) ALTER TABLE uuidify_uuids ADD COLUMN model_uuid BINARY(16)  (86.9ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_name_and_model_id` ON `uuidify_uuids` (`model_name`, `model_id`)  (164.7ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid` ON `uuidify_uuids` (`model_uuid`)  (196.0ms) CREATE UNIQUE INDEX `index_uuidify_uuids_on_model_uuid_and_model_id` ON `uuidify_uuids` (`model_uuid`, `model_id`)  (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130612143347') Migrating to CreateBars (20130613135222)  (141.2ms) CREATE TABLE `bars` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130613135222')  (0.4ms) SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' SQL (0.3ms) SHOW CREATE TABLE `bars` SQL (0.3ms) SHOW CREATE TABLE `foos` SQL (0.1ms) SHOW CREATE TABLE `schema_migrations` SQL (0.1ms) SHOW CREATE TABLE `uuidify_uuids`  (0.2ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'Foo', x'493b8134a3b511e3a08d70cd60fffe2a')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (2, 'Foo', x'493ecc72a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (3, 'Foo', x'493fd82ea3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 3 LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (4, 'Foo', x'4940ced2a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'4940ced2a3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 4 LIMIT 1  (31.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (5, 'Baz', x'4946911ea3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'4946911ea3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (4.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (6, 'Foo', x'4947db6ea3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 6 LIMIT 1 SQL (0.2ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 6 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'4947db6ea3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (7, 'Foo', x'494922eea3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 7 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'494922eea3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 7 LIMIT 1  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `bars` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (8, 'Foo', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) UPDATE `uuidify_uuids` SET `model_uuid` = 'IK´Œ£µã pÍ`ÿþ*' WHERE `uuidify_uuids`.`id` = 8 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'494bb48ca3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 8 LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (9, 'Foo', x'494d2330a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 9 LIMIT 1 SQL (0.2ms) UPDATE `uuidify_uuids` SET `model_uuid` = 'IMj¢£µã pÍ`ÿþ*' WHERE `uuidify_uuids`.`id` = 9 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'494d6aa2a3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 9 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'494d2330a3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (41.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (10, 'Foo', x'4954b906a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (11, 'Foo', x'49554934a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (12, 'Foo', x'4955ce90a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 10 LIMIT 1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 10 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 10  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 11 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 12 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'4954b906a3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (13, 'Foo', x'49575da0a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (14, 'Foo', x'4957e7aca3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (15, 'Foo', x'4958717ca3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 14 LIMIT 1 SQL (0.1ms) DELETE FROM `foos` WHERE `foos`.`id` = 13 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 13  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 15 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'4957e7aca3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 14 LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (16, 'Foo', x'495a1964a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (17, 'Foo', x'495aac44a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (18, 'Foo', x'495b3966a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 18 LIMIT 1 SQL (0.2ms) DELETE FROM `foos` WHERE `foos`.`id` = 18 Uuidify::Uuid Load (0.2ms) SELECT model_name FROM `uuidify_uuids` GROUP BY model_name Uuidify::Uuid Load (0.3ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 16 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1 Foo Load (0.1ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`id` = 18  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 17 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'495aac44a3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 17 LIMIT 1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'495b3966a3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1  (6.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (19, 'Foo', x'495ee426a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (20, 'Foo', x'495f80d4a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `foos` (`created_at`, `updated_at`) VALUES ('2014-03-04 15:54:36', '2014-03-04 15:54:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (21, 'Foo', x'4960054aa3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' AND `uuidify_uuids`.`model_id` = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `uuidify_uuids` (`model_id`, `model_name`, `model_uuid`) VALUES (1, 'NonexistantClass', x'49606008a3b511e3a08d70cd60fffe2a')  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.2ms) SELECT model_name FROM `uuidify_uuids` GROUP BY model_name Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'Foo' ORDER BY `uuidify_uuids`.`id` ASC LIMIT 1000 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 19 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 20 LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 21 LIMIT 1 SQL (0.2ms) DELETE FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'NonexistantClass'  (0.2ms) SELECT COUNT(*) FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_name` = 'NonexistantClass' Uuidify::Uuid Load (0.2ms) SELECT `uuidify_uuids`.* FROM `uuidify_uuids` WHERE `uuidify_uuids`.`model_uuid` = x'495ee426a3b511e3a08d70cd60fffe2a' AND `uuidify_uuids`.`model_name` = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT `foos`.* FROM `foos` WHERE `foos`.`id` = 19 LIMIT 1  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (4.0ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (33.4ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.2ms) BEGIN  (4.7ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (1.0ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.2ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.0ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.8ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "5bbb459c-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "5bbebd80-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "5bbf925a-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "5bc09920-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bc09920-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.4ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", "5bc19672-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bc19672-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "5bc26480-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.4ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bc26480-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "5bc3c384-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bc3c384-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "uuidify_uuids" SET "model_uuid" = '5bc63e0c-a3b5-11e3-8a7c-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bc63e0c-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 8]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "5bc7a29c-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = '5bc7f1c0-a3b5-11e3-8a7c-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 9 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bc7f1c0-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 9]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bc7a29c-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "5bc90088-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "5bc9a2e0-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "5bca4312-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.8ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bc90088-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "5bcce40a-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "5bcd8c3e-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "5bce2586-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bcd8c3e-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "5bcfdf5c-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "5bd078c2-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "5bd11480-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.3ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bd078c2-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bd11480-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "5bd34ab6-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "5bd3e6d8-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "5bd47fda-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", "5bd4eac4-a3b5-11e3-8a7c-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = '5bd34ab6-a3b5-11e3-8a7c-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateFoos (20130612135708)  (0.1ms) BEGIN  (3.9ms) CREATE TABLE "foos" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612135708')  (27.4ms) COMMIT Migrating to CreateUuidifyUuids (20130612143347)  (0.3ms) BEGIN  (3.3ms) CREATE TABLE "uuidify_uuids" ("id" serial primary key, "model_name" character varying(255), "model_id" integer, "model_uuid" character varying(36))   (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_name_and_model_id" ON "uuidify_uuids" ("model_name", "model_id")  (0.9ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid" ON "uuidify_uuids" ("model_uuid")  (1.1ms) CREATE UNIQUE INDEX "index_uuidify_uuids_on_model_uuid_and_model_id" ON "uuidify_uuids" ("model_uuid", "model_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130612143347')  (1.0ms) COMMIT Migrating to CreateBars (20130613135222)  (0.2ms) BEGIN  (3.0ms) CREATE TABLE "bars" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130613135222')  (0.7ms) COMMIT  (0.6ms) SELECT version FROM schema_migrations ORDER BY version Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.2ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (1.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 1 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "Foo"], ["model_uuid", "bfa174e6-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.5ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 2], ["model_name", "Foo"], ["model_uuid", "bfa4e414-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 3], ["model_name", "Foo"], ["model_uuid", "bfa5c82a-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 3 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 4], ["model_name", "Foo"], ["model_uuid", "bfa6e6ec-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfa6e6ec-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.5ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 4]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 5], ["model_name", "Baz"], ["model_uuid", "bfa7eb1e-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfa7eb1e-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 6], ["model_name", "Foo"], ["model_uuid", "bfa8bdfa-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 6 LIMIT 1 SQL (0.5ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 6]] SQL (0.4ms) DELETE FROM "foos" WHERE "foos"."id" = $1 [["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfa8bdfa-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 7 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 7], ["model_name", "Foo"], ["model_uuid", "bfaa2f5a-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 7 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfaa2f5a-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 7]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "bars" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 8], ["model_name", "Foo"], ["model_uuid", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'bfacc1b6-a3b5-11e3-aacf-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 8 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfacc1b6-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 8]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 9], ["model_name", "Foo"], ["model_uuid", "bfaf1286-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 9 LIMIT 1 SQL (0.3ms) UPDATE "uuidify_uuids" SET "model_uuid" = 'bfaf698e-a3b5-11e3-aacf-70cd60fffe2a' WHERE "uuidify_uuids"."id" = 9 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfaf698e-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 9]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfaf1286-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 10], ["model_name", "Foo"], ["model_uuid", "bfb08620-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 11], ["model_name", "Foo"], ["model_uuid", "bfb12a12-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 12 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 12], ["model_name", "Foo"], ["model_uuid", "bfb1c36e-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 10 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 10 Uuidify::Uuid Load (0.7ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 10]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 11 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 12 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfb08620-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 13], ["model_name", "Foo"], ["model_uuid", "bfb386a4-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 14], ["model_name", "Foo"], ["model_uuid", "bfb421ae-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 15], ["model_name", "Foo"], ["model_uuid", "bfb4c12c-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 14 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 13 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 14 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 15 LIMIT 1 Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfb421ae-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 14]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 16 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 16], ["model_name", "Foo"], ["model_uuid", "bfb688a4-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 17], ["model_name", "Foo"], ["model_uuid", "bfb72d9a-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 18], ["model_name", "Foo"], ["model_uuid", "bfb7c7d2-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 18 LIMIT 1 SQL (0.2ms) DELETE FROM "foos" WHERE "foos"."id" = 18 Uuidify::Uuid Load (0.5ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name Uuidify::Uuid Load (0.4ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 16 LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 17 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 17 LIMIT 1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfb72d9a-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 17]] Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfb7c7d2-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 19], ["model_name", "Foo"], ["model_uuid", "bfb9fa3e-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 20 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 20], ["model_name", "Foo"], ["model_uuid", "bfba9426-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00], ["updated_at", Tue, 04 Mar 2014 15:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 21], ["model_name", "Foo"], ["model_uuid", "bfbb3390-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' AND "uuidify_uuids"."model_id" = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "uuidify_uuids" ("model_id", "model_name", "model_uuid") VALUES ($1, $2, $3) RETURNING "id" [["model_id", 1], ["model_name", "NonexistantClass"], ["model_uuid", "bfbba1e0-a3b5-11e3-aacf-70cd60fffe2a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Uuidify::Uuid Load (0.3ms) SELECT model_name FROM "uuidify_uuids" GROUP BY model_name SQL (0.3ms) DELETE FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'Foo' ORDER BY "uuidify_uuids"."id" ASC LIMIT 1000 Foo Load (0.3ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 19 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 20 LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = 21 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_name" = 'NonexistantClass' Uuidify::Uuid Load (0.3ms) SELECT "uuidify_uuids".* FROM "uuidify_uuids" WHERE "uuidify_uuids"."model_uuid" = 'bfb9fa3e-a3b5-11e3-aacf-70cd60fffe2a' AND "uuidify_uuids"."model_name" = 'Foo' LIMIT 1 Foo Load (0.2ms) SELECT "foos".* FROM "foos" WHERE "foos"."id" = $1 LIMIT 1 [["id", 19]]  (0.2ms) ROLLBACK