Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.6ms) BEGIN  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Mysql2::Error: Table 'ominous_test.ominous_warnings' doesn't exist: SHOW FULL FIELDS FROM `ominous_warnings`  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Mysql2::Error: Table 'ominous_test.ominous_warnings' doesn't exist: SHOW FULL FIELDS FROM `ominous_warnings`  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (2.3ms) ROLLBACK Connecting to database specified by database.yml  (197.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (301.3ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (3.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateOminousWarnings (20121206144249)  (138.5ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (32.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121206144249') Migrating to CreateOminousWarningClosers (20121206145743)  (163.9ms) CREATE TABLE `ominous_warning_closers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `warning_id` int(11), `closer_id` int(11), `position` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (33.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121206145743') Migrating to CreateOminousClosers (20121206153254)  (144.0ms) CREATE TABLE `ominous_closers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (32.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121206153254')  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (0.3ms) BEGIN Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Ominous::Warning Load (2.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.6ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Ominous::Warning Load (2.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (2.9ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.5ms) BEGIN Ominous::Warning Load (3.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (35.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-06 16:00:41', '2012-12-06 16:00:41') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-06 16:00:41', '2012-12-06 16:00:41') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-06 16:00:42', '2012-12-06 16:00:42', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-06 16:00:42', '2012-12-06 16:00:42', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-06 16:00:42', '2012-12-06 16:00:42', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-06 16:00:42', '2012-12-06 16:00:42') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-06 16:00:42', '2012-12-06 16:00:42')  (25.1ms) COMMIT  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (3.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.8ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-06 16:03:44', '2012-12-06 16:03:44') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-06 16:03:44', '2012-12-06 16:03:44') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-06 16:03:44', '2012-12-06 16:03:44', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-06 16:03:44', '2012-12-06 16:03:44', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-06 16:03:44', '2012-12-06 16:03:44', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-06 16:03:44', '2012-12-06 16:03:44') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-06 16:03:44', '2012-12-06 16:03:44')  (85.7ms) COMMIT  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) BEGIN Ominous::Warning Load (4.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.8ms) BEGIN  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-06 16:04:53', '2012-12-06 16:04:53') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-06 16:04:53', '2012-12-06 16:04:53') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-06 16:04:53', '2012-12-06 16:04:53', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-06 16:04:53', '2012-12-06 16:04:53', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-06 16:04:53', '2012-12-06 16:04:53', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-06 16:04:54', '2012-12-06 16:04:54') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-06 16:04:54', '2012-12-06 16:04:54')  (68.0ms) COMMIT  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (2.5ms) DELETE FROM `ominous_warnings` Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 08:25:51', '2012-12-07 08:25:51') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 08:25:51', '2012-12-07 08:25:51') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 08:25:51', '2012-12-07 08:25:51', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 08:25:51', '2012-12-07 08:25:51', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 08:25:51', '2012-12-07 08:25:51', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 08:25:51', '2012-12-07 08:25:51') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 08:25:51', '2012-12-07 08:25:51')  (73.2ms) COMMIT  (2.3ms) SET FOREIGN_KEY_CHECKS = 1  (1.8ms) BEGIN Ominous::Warning Load (3.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (7.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (1.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (4.0ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:09:05', '2012-12-07 09:09:05') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:09:05', '2012-12-07 09:09:05') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:09:06', '2012-12-07 09:09:06', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:09:06', '2012-12-07 09:09:06', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:09:06', '2012-12-07 09:09:06', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:09:06', '2012-12-07 09:09:06') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:09:06', '2012-12-07 09:09:06')  (35.5ms) COMMIT  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (2.6ms) ROLLBACK  (0.4ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (3.8ms) BEGIN  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (2.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:10:26', '2012-12-07 09:10:26') Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:10:26', '2012-12-07 09:10:26') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:10:26', '2012-12-07 09:10:26', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:10:26', '2012-12-07 09:10:26', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:10:26', '2012-12-07 09:10:26', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:10:26', '2012-12-07 09:10:26') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:10:26', '2012-12-07 09:10:26')  (47.7ms) COMMIT  (1.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.7ms) BEGIN Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK Connecting to database specified by database.yml Unable to load ominous/thing, underlying cause No such file to load -- ominous/thing /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:312:in `depend_on' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:225:in `require_dependency' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:779:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:762:in `fixtures' /home/rob/web/ominous/test/test_helper.rb:18:in `' /home/rob/web/ominous/test/test_helper.rb:17:in `' /home/rob/web/ominous/test/dummy/test/functional/things_controller_test.rb:1:in `require' /home/rob/web/ominous/test/dummy/test/functional/things_controller_test.rb:1:in `' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:10:in `require' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:9:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:9:in `block in
' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:4:in `select' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:4:in `
'  (1.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (3.4ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:30', '2012-12-07 09:13:30') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:30', '2012-12-07 09:13:30') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:30', '2012-12-07 09:13:30', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:30', '2012-12-07 09:13:30', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:30', '2012-12-07 09:13:30', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (90.5ms) ROLLBACK  (1.1ms) SET FOREIGN_KEY_CHECKS = 1  (1.6ms) SELECT @@FOREIGN_KEY_CHECKS  (1.3ms) SET FOREIGN_KEY_CHECKS = 0  (1.1ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:30', '2012-12-07 09:13:30') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:30', '2012-12-07 09:13:30') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:30', '2012-12-07 09:13:30', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:30', '2012-12-07 09:13:30', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:30', '2012-12-07 09:13:30', 113629430) Fixture Delete (1.4ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (45.7ms) ROLLBACK  (1.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (0.8ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (43.0ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Delete (2.2ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (37.8ms) ROLLBACK  (1.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (1.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (40.6ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Insert (2.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 113629430) Fixture Delete (1.0ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (59.7ms) ROLLBACK  (2.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (3.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (37.8ms) ROLLBACK  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Insert (1.2ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (37.8ms) ROLLBACK  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:13:31', '2012-12-07 09:13:31') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:13:31', '2012-12-07 09:13:31', 113629430) Fixture Delete (2.0ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (44.2ms) ROLLBACK  (8.8ms) SET FOREIGN_KEY_CHECKS = 1 Connecting to database specified by database.yml  (20.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateOminousWarnings (20121206144249)  (4.2ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Mysql2::Error: Table 'ominous_warnings' already exists: CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Connecting to database specified by database.yml Unable to load ominous/thing, underlying cause No such file to load -- ominous/thing /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:312:in `depend_on' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:225:in `require_dependency' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:779:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:762:in `fixtures' /home/rob/web/ominous/test/test_helper.rb:18:in `' /home/rob/web/ominous/test/test_helper.rb:17:in `' /home/rob/web/ominous/test/dummy/test/functional/things_controller_test.rb:1:in `require' /home/rob/web/ominous/test/dummy/test/functional/things_controller_test.rb:1:in `' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:10:in `require' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:9:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:9:in `block in
' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:4:in `select' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:4:in `
'  (1.7ms) SELECT @@FOREIGN_KEY_CHECKS  (5.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:51', '2012-12-07 09:14:51') Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:51', '2012-12-07 09:14:51') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:51', '2012-12-07 09:14:51', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:51', '2012-12-07 09:14:51', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:51', '2012-12-07 09:14:51', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (84.8ms) ROLLBACK  (1.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (1.1ms) SET FOREIGN_KEY_CHECKS = 0  (4.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (39.9ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (38.9ms) ROLLBACK  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (43.5ms) ROLLBACK  (1.1ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (1.3ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 113629430) Fixture Delete (0.9ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (42.7ms) ROLLBACK  (1.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (4.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 980190962) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 113629430) Fixture Delete (2.3ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (40.0ms) ROLLBACK  (1.8ms) SET FOREIGN_KEY_CHECKS = 1  (2.2ms) SELECT @@FOREIGN_KEY_CHECKS  (1.0ms) SET FOREIGN_KEY_CHECKS = 0  (1.2ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Delete (3.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 113629430) Fixture Delete (0.9ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (39.6ms) ROLLBACK  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (33.4ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:14:52', '2012-12-07 09:14:52') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 298486374) Fixture Insert (1.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:14:52', '2012-12-07 09:14:52', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (38.7ms) ROLLBACK  (1.1ms) SET FOREIGN_KEY_CHECKS = 1 Connecting to database specified by database.yml  (2.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateThings (20121207090710)  (0.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml Unable to load ominous/thing, underlying cause No such file to load -- ominous/thing /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:312:in `depend_on' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:225:in `require_dependency' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:779:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/activerecord-3.2.9/lib/active_record/fixtures.rb:762:in `fixtures' /home/rob/web/ominous/test/test_helper.rb:18:in `' /home/rob/web/ominous/test/test_helper.rb:17:in `' /home/rob/web/ominous/test/dummy/test/functional/things_controller_test.rb:1:in `require' /home/rob/web/ominous/test/dummy/test/functional/things_controller_test.rb:1:in `' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:10:in `require' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:9:in `each' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:9:in `block in
' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:4:in `select' /home/rob/.rvm/gems/ruby-1.9.3-p286@ominous/gems/rake-10.0.2/lib/rake/rake_test_loader.rb:4:in `
'  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (6.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:08', '2012-12-07 09:16:08') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:08', '2012-12-07 09:16:08') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (54.0ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:08', '2012-12-07 09:16:08') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:08', '2012-12-07 09:16:08') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 980190962) Fixture Insert (3.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (49.0ms) ROLLBACK  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.9ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:08', '2012-12-07 09:16:08') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:08', '2012-12-07 09:16:08') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (37.6ms) ROLLBACK  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (1.3ms) SET FOREIGN_KEY_CHECKS = 0  (1.2ms) BEGIN Fixture Delete (4.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:08', '2012-12-07 09:16:08') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:08', '2012-12-07 09:16:08') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:08', '2012-12-07 09:16:08', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (44.5ms) ROLLBACK  (1.0ms) SET FOREIGN_KEY_CHECKS = 1  (3.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Insert (2.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Delete (1.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (43.3ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (3.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 113629430) Fixture Delete (0.9ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (40.9ms) ROLLBACK  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (3.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (1.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (39.9ms) ROLLBACK  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 298486374) Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (36.0ms) ROLLBACK  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.8ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:16:09', '2012-12-07 09:16:09') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:16:09', '2012-12-07 09:16:09', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_things` Mysql2::Error: Table 'ominous_test.ominous_things' doesn't exist: DELETE FROM `ominous_things`  (36.4ms) ROLLBACK  (0.3ms) SET FOREIGN_KEY_CHECKS = 1 Connecting to database specified by database.yml  (8.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (4.3ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (2.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:20:31', '2012-12-07 09:20:31') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:20:31', '2012-12-07 09:20:31') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:20:31', '2012-12-07 09:20:31', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:20:31', '2012-12-07 09:20:31', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:20:31', '2012-12-07 09:20:31', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:20:31', '2012-12-07 09:20:31') Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:20:31', '2012-12-07 09:20:31') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:20:31', '2012-12-07 09:20:31') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:20:31', '2012-12-07 09:20:31')  (80.3ms) COMMIT  (2.0ms) SET FOREIGN_KEY_CHECKS = 1  (1.4ms) BEGIN Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:20:31', 'Foo', '2012-12-07 09:20:31')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/3 Completed 302 Found in 29ms (ActiveRecord: 2.8ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (31.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (1.1ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 3.5ms)  (1.5ms) SELECT COUNT(*) FROM `things`   (37.6ms) ROLLBACK  (3.7ms) BEGIN Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (155.4ms) Completed 200 OK in 367ms (Views: 364.4ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (1.2ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.9ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (4.8ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (2.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:20:43', '2012-12-07 09:20:43') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:20:43', '2012-12-07 09:20:43') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:20:43', '2012-12-07 09:20:43', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:20:43', '2012-12-07 09:20:43', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:20:43', '2012-12-07 09:20:43', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:20:43', '2012-12-07 09:20:43') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:20:43', '2012-12-07 09:20:43') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:20:43', '2012-12-07 09:20:43') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:20:43', '2012-12-07 09:20:43')  (58.1ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.9ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:20:43', 'Foo', '2012-12-07 09:20:43')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/4 Completed 302 Found in 10ms (ActiveRecord: 2.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (43.6ms) ROLLBACK  (2.0ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.1ms) SAVEPOINT active_record_1 SQL (1.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (3.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 19ms (ActiveRecord: 6.9ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (40.2ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.9ms) Completed 200 OK in 57ms (Views: 54.2ms | ActiveRecord: 0.8ms)  (3.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (2.1ms) SELECT `things`.* FROM `things`  Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 2.1ms)  (0.7ms) ROLLBACK  (1.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (1.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 3.3ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (4.4ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:21:12', '2012-12-07 09:21:12') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:21:12', '2012-12-07 09:21:12') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:21:12', '2012-12-07 09:21:12', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:21:12', '2012-12-07 09:21:12', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:21:12', '2012-12-07 09:21:12', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:21:12', '2012-12-07 09:21:12') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:21:12', '2012-12-07 09:21:12') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:21:12', '2012-12-07 09:21:12') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:21:12', '2012-12-07 09:21:12')  (44.3ms) COMMIT  (1.8ms) SET FOREIGN_KEY_CHECKS = 1  (1.7ms) BEGIN Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (4.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (3.3ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:21:13', 'Foo', '2012-12-07 09:21:13')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/5 Completed 302 Found in 11ms (ActiveRecord: 2.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (60.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (1.3ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 3.4ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (92.1ms) ROLLBACK  (2.7ms) BEGIN Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (3.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.0ms) Completed 200 OK in 79ms (Views: 72.0ms | ActiveRecord: 3.6ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.8ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.0ms) Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 12ms (Views: 7.9ms | ActiveRecord: 1.8ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (1.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 2.7ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (12.5ms) SET FOREIGN_KEY_CHECKS = 0  (5.0ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:23:15', '2012-12-07 09:23:15') Fixture Insert (2.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:23:15', '2012-12-07 09:23:15') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (7.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:23:15', '2012-12-07 09:23:15', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:23:15', '2012-12-07 09:23:15', 298486374) Fixture Insert (6.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:23:15', '2012-12-07 09:23:15', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:23:15', '2012-12-07 09:23:15') Fixture Insert (6.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:23:15', '2012-12-07 09:23:15') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (6.0ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:23:15', '2012-12-07 09:23:15') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:23:15', '2012-12-07 09:23:15')  (80.2ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (6.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (6.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (5.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (2.2ms) ROLLBACK  (0.6ms) BEGIN  (1.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.9ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (4.5ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:23:16', 'Foo', '2012-12-07 09:23:16')  (3.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/6 Completed 302 Found in 20ms (ActiveRecord: 12.0ms)  (8.4ms) SELECT COUNT(*) FROM `things`   (42.9ms) ROLLBACK  (3.8ms) BEGIN Thing Load (4.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (9.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (3.6ms) SAVEPOINT active_record_1 SQL (2.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (2.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 23ms (ActiveRecord: 18.3ms)  (5.6ms) SELECT COUNT(*) FROM `things`  (103.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (8.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (18.6ms) Completed 200 OK in 160ms (Views: 149.7ms | ActiveRecord: 8.9ms)  (3.3ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (7.6ms) SELECT `things`.* FROM `things` Completed 200 OK in 30ms (Views: 20.4ms | ActiveRecord: 7.6ms)  (4.1ms) ROLLBACK  (0.7ms) BEGIN Thing Load (4.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.0ms) Completed 200 OK in 19ms (Views: 18.7ms | ActiveRecord: 0.0ms)  (3.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (13.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (3.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 22ms (ActiveRecord: 17.9ms)  (4.8ms) ROLLBACK Connecting to database specified by database.yml  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (8.8ms) SET FOREIGN_KEY_CHECKS = 0  (1.7ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:23:47', '2012-12-07 09:23:47') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:23:47', '2012-12-07 09:23:47') Fixture Delete (6.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:23:47', '2012-12-07 09:23:47', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:23:47', '2012-12-07 09:23:47', 298486374) Fixture Insert (6.1ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:23:47', '2012-12-07 09:23:47', 113629430) Fixture Delete (3.7ms) DELETE FROM `ominous_closers` Fixture Insert (2.0ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:23:47', '2012-12-07 09:23:47') Fixture Insert (4.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:23:47', '2012-12-07 09:23:47') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (3.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:23:47', '2012-12-07 09:23:47') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:23:47', '2012-12-07 09:23:47')  (48.5ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (4.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (5.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (6.8ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.9ms) SAVEPOINT active_record_1 SQL (7.1ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:23:47', 'Foo', '2012-12-07 09:23:47')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/7 Completed 302 Found in 15ms (ActiveRecord: 8.7ms)  (1.3ms) SELECT COUNT(*) FROM `things`  (42.0ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (8.1ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 5ms (ActiveRecord: 2.7ms)  (4.5ms) SELECT COUNT(*) FROM `things`   (106.9ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (7.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (21.8ms) Completed 200 OK in 137ms (Views: 127.8ms | ActiveRecord: 7.5ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (8.4ms) Completed 200 OK in 17ms (Views: 16.7ms | ActiveRecord: 0.0ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (4.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (5.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 15ms (Views: 7.3ms | ActiveRecord: 5.7ms)  (5.2ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.6ms) SAVEPOINT active_record_1  (7.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 19ms (ActiveRecord: 9.7ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (1.0ms) SET FOREIGN_KEY_CHECKS = 0  (1.7ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:36:25', '2012-12-07 09:36:25') Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:36:25', '2012-12-07 09:36:25') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:36:25', '2012-12-07 09:36:25', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:36:25', '2012-12-07 09:36:25', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:36:25', '2012-12-07 09:36:25', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:36:25', '2012-12-07 09:36:25') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:36:25', '2012-12-07 09:36:25') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:36:25', '2012-12-07 09:36:25') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:36:25', '2012-12-07 09:36:25')  (68.2ms) COMMIT  (2.8ms) SET FOREIGN_KEY_CHECKS = 1  (2.7ms) BEGIN Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:36:26', 'Foo', '2012-12-07 09:36:26')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/8 Completed 302 Found in 11ms (ActiveRecord: 2.2ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (39.0ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.5ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (5.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (5.0ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 15ms (ActiveRecord: 11.9ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (40.2ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.9ms) Completed 200 OK in 67ms (Views: 62.1ms | ActiveRecord: 3.2ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.8ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.3ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 9ms (ActiveRecord: 1.9ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (1.6ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:38:28', '2012-12-07 09:38:28') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:38:28', '2012-12-07 09:38:28') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:38:29', '2012-12-07 09:38:29', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:38:29', '2012-12-07 09:38:29', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:38:29', '2012-12-07 09:38:29', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (3.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:38:29', '2012-12-07 09:38:29') Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:38:29', '2012-12-07 09:38:29') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:38:29', '2012-12-07 09:38:29') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:38:29', '2012-12-07 09:38:29')  (59.4ms) COMMIT  (1.9ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (3.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (1.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.1ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:38:29', 'Foo', '2012-12-07 09:38:29')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/9 Completed 302 Found in 11ms (ActiveRecord: 2.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (45.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (1.0ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 4.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (46.7ms) ROLLBACK  (9.4ms) BEGIN Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (8.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (20.8ms) Completed 200 OK in 112ms (Views: 101.7ms | ActiveRecord: 8.7ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (5.7ms) SELECT `things`.* FROM `things`  Completed 200 OK in 16ms (Views: 9.3ms | ActiveRecord: 5.7ms)  (2.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (7.0ms) Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)  (2.6ms) ROLLBACK  (0.9ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.4ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 10ms (ActiveRecord: 4.2ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (1.2ms) SELECT @@FOREIGN_KEY_CHECKS  (4.6ms) SET FOREIGN_KEY_CHECKS = 0  (2.1ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:41:04', '2012-12-07 09:41:04') Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:41:04', '2012-12-07 09:41:04') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:41:04', '2012-12-07 09:41:04', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:41:04', '2012-12-07 09:41:04', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:41:04', '2012-12-07 09:41:04', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:41:05', '2012-12-07 09:41:05') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:41:05', '2012-12-07 09:41:05') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:41:05', '2012-12-07 09:41:05') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:41:05', '2012-12-07 09:41:05')  (41.3ms) COMMIT  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (1.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (1.9ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:41:05', 'Foo', '2012-12-07 09:41:05')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/10 Completed 302 Found in 17ms (ActiveRecord: 2.0ms)  (7.8ms) SELECT COUNT(*) FROM `things`  (40.0ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (3.1ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (4.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (4.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 14ms (ActiveRecord: 10.4ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (39.7ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (5.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.2ms) Completed 200 OK in 64ms (Views: 57.1ms | ActiveRecord: 5.4ms)  (4.1ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (3.6ms) SELECT `things`.* FROM `things`  Completed 200 OK in 12ms (Views: 5.1ms | ActiveRecord: 3.6ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.5ms) Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.7ms)  (2.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 2.4ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (2.9ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:42:03', '2012-12-07 09:42:03') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:42:03', '2012-12-07 09:42:03') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:42:03', '2012-12-07 09:42:03', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:42:03', '2012-12-07 09:42:03', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:42:03', '2012-12-07 09:42:03', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:42:03', '2012-12-07 09:42:03') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:42:03', '2012-12-07 09:42:03') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:42:03', '2012-12-07 09:42:03') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:42:03', '2012-12-07 09:42:03')  (83.3ms) COMMIT  (2.0ms) SET FOREIGN_KEY_CHECKS = 1  (1.4ms) BEGIN Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (6.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (4.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}} Completed 500 Internal Server Error in 1ms  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.6ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (49.3ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.5ms) Completed 200 OK in 67ms (Views: 64.2ms | ActiveRecord: 0.9ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 1.5ms)  (2.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Completed 500 Internal Server Error in 1ms  (0.7ms) ROLLBACK  (0.9ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.8ms)  (1.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1  (1.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 2.5ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (2.6ms) BEGIN Fixture Delete (2.2ms) DELETE FROM `ominous_warnings` Fixture Insert (1.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:42:32', '2012-12-07 09:42:32') Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:42:32', '2012-12-07 09:42:32') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:42:32', '2012-12-07 09:42:32', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:42:32', '2012-12-07 09:42:32', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:42:32', '2012-12-07 09:42:32', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:42:32', '2012-12-07 09:42:32') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:42:32', '2012-12-07 09:42:32') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Foo', '2012-12-07 09:42:32', '2012-12-07 09:42:32') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'Bar', '2012-12-07 09:42:32', '2012-12-07 09:42:32')  (68.3ms) COMMIT  (1.0ms) SET FOREIGN_KEY_CHECKS = 1  (2.6ms) BEGIN Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (1.1ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `name`, `updated_at`) VALUES ('2012-12-07 09:42:32', 'Foo', '2012-12-07 09:42:32')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/11 Completed 302 Found in 10ms (ActiveRecord: 1.9ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (59.9ms) ROLLBACK  (1.3ms) BEGIN Thing Load (3.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.5ms)  (2.3ms) SELECT COUNT(*) FROM `things`   (54.5ms) ROLLBACK  (6.4ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (17.1ms) Completed 200 OK in 85ms (Views: 78.0ms | ActiveRecord: 1.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (5.4ms) SELECT `things`.* FROM `things`  Completed 200 OK in 16ms (Views: 9.2ms | ActiveRecord: 5.4ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (8.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.3ms) Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (5.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.8ms)  (10.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (8.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 14ms (ActiveRecord: 10.1ms)  (2.6ms) ROLLBACK Connecting to database specified by database.yml  (5.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (3.0ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (7.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (7.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 298486374) Fixture Insert (2.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (3.9ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (2.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (1.0ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:08', '2012-12-07 09:56:08') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:08', '2012-12-07 09:56:08')  (87.8ms) ROLLBACK  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.9ms) SET FOREIGN_KEY_CHECKS = 0  (1.8ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 980190962) Fixture Insert (1.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 113629430) Fixture Delete (2.9ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:08', '2012-12-07 09:56:08') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:08', '2012-12-07 09:56:08')  (136.8ms) ROLLBACK  (1.5ms) SET FOREIGN_KEY_CHECKS = 1  (1.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (2.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:08', '2012-12-07 09:56:08') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:08', '2012-12-07 09:56:08')  (51.7ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (2.0ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (1.2ms) DELETE FROM `things` Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:08', '2012-12-07 09:56:08') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:08', '2012-12-07 09:56:08')  (72.2ms) ROLLBACK  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.8ms) BEGIN Fixture Delete (6.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:08', '2012-12-07 09:56:08') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (2.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:08', '2012-12-07 09:56:08', 113629430) Fixture Delete (9.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (3.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (0.7ms) DELETE FROM `things` Fixture Insert (2.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09')  (55.6ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (1.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (1.1ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09')  (42.3ms) ROLLBACK  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 298486374) Fixture Insert (1.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 113629430) Fixture Delete (3.9ms) DELETE FROM `ominous_closers` Fixture Insert (4.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (3.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (5.2ms) DELETE FROM `things` Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09')  (75.7ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.9ms) SET FOREIGN_KEY_CHECKS = 0  (0.9ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (1.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 298486374) Fixture Insert (1.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (5.1ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (5.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (2.2ms) DELETE FROM `things` Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09')  (148.4ms) ROLLBACK  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (5.8ms) SELECT @@FOREIGN_KEY_CHECKS  (3.9ms) SET FOREIGN_KEY_CHECKS = 0  (5.1ms) BEGIN Fixture Delete (2.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (1.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 980190962) Fixture Insert (3.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 298486374) Fixture Insert (3.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 113629430) Fixture Delete (1.4ms) DELETE FROM `ominous_closers` Fixture Insert (7.9ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (1.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (7.3ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09')  (105.8ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (2.0ms) SELECT @@FOREIGN_KEY_CHECKS  (2.5ms) SET FOREIGN_KEY_CHECKS = 0  (1.1ms) BEGIN Fixture Delete (1.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (2.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 298486374) Fixture Insert (2.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:09', '2012-12-07 09:56:09', 113629430) Fixture Delete (1.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:09', '2012-12-07 09:56:09') Fixture Delete (2.0ms) DELETE FROM `things` Fixture Insert (1.0ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:09', '2012-12-07 09:56:09')  (72.6ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1 Connecting to database specified by database.yml  (3.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (2.0ms) BEGIN Fixture Delete (1.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Delete (1.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:58', '2012-12-07 09:56:58', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:58', '2012-12-07 09:56:58', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:58', '2012-12-07 09:56:58', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:58', '2012-12-07 09:56:58') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:58', '2012-12-07 09:56:58')  (87.4ms) ROLLBACK  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (5.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.9ms) BEGIN Fixture Delete (10.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (4.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:58', '2012-12-07 09:56:58', 980190962) Fixture Insert (6.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:58', '2012-12-07 09:56:58', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:58', '2012-12-07 09:56:58', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (9.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:58', '2012-12-07 09:56:58') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:58', '2012-12-07 09:56:58')  (84.2ms) ROLLBACK  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (205.0ms) DELETE FROM `ominous_warnings` Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Insert (11.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:58', '2012-12-07 09:56:58') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:59', '2012-12-07 09:56:59') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:59', '2012-12-07 09:56:59')  (196.4ms) ROLLBACK  (1.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.6ms) SELECT @@FOREIGN_KEY_CHECKS  (1.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (48.1ms) DELETE FROM `ominous_warnings` Fixture Insert (9.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Insert (2.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (5.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 298486374) Fixture Insert (5.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (2.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Insert (5.9ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (8.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:59', '2012-12-07 09:56:59') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:59', '2012-12-07 09:56:59')  (237.7ms) ROLLBACK  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (2.2ms) SELECT @@FOREIGN_KEY_CHECKS  (1.9ms) SET FOREIGN_KEY_CHECKS = 0  (2.4ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 980190962) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 298486374) Fixture Insert (1.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (1.0ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:59', '2012-12-07 09:56:59') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:59', '2012-12-07 09:56:59')  (108.8ms) ROLLBACK  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (0.9ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:56:59', '2012-12-07 09:56:59', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (1.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Insert (1.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:56:59', '2012-12-07 09:56:59') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:59', '2012-12-07 09:56:59') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:56:59', '2012-12-07 09:56:59')  (93.3ms) ROLLBACK  (0.9ms) SET FOREIGN_KEY_CHECKS = 1  (1.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.9ms) SET FOREIGN_KEY_CHECKS = 0  (1.1ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Delete (3.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (5.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 298486374) Fixture Insert (1.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 113629430) Fixture Delete (9.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Delete (5.6ms) DELETE FROM `things` Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:57:00', '2012-12-07 09:57:00') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:57:00', '2012-12-07 09:57:00')  (149.3ms) ROLLBACK  (1.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (1.1ms) SET FOREIGN_KEY_CHECKS = 0  (1.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Insert (1.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 298486374) Fixture Insert (1.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:57:00', '2012-12-07 09:57:00') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:57:00', '2012-12-07 09:57:00')  (59.7ms) ROLLBACK  (10.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (1.6ms) SET FOREIGN_KEY_CHECKS = 0  (1.8ms) BEGIN Fixture Delete (10.1ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Insert (1.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 980190962) Fixture Insert (2.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:57:00', '2012-12-07 09:57:00') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:57:00', '2012-12-07 09:57:00')  (50.4ms) ROLLBACK  (4.0ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (3.2ms) SET FOREIGN_KEY_CHECKS = 0  (1.0ms) BEGIN Fixture Delete (1.7ms) DELETE FROM `ominous_warnings` Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 09:57:00', '2012-12-07 09:57:00', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 09:57:00', '2012-12-07 09:57:00') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:57:00', '2012-12-07 09:57:00') Mysql2::Error: Unknown column 'has_warning' in 'field list': INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 09:57:00', '2012-12-07 09:57:00')  (91.1ms) ROLLBACK  (6.9ms) SET FOREIGN_KEY_CHECKS = 1 Connecting to database specified by database.yml  (44.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Migrating to CreateThings (20121207090710)  (50.8ms) DROP TABLE `things`  (53.4ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20121207090710'  (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (22.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateOminousWarnings (20121206144249)  (1.0ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Mysql2::Error: Table 'ominous_warnings' already exists: CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Connecting to database specified by database.yml  (32.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`   (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (23.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateOminousWarnings (20121206144249)  (1.1ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Mysql2::Error: Table 'ominous_warnings' already exists: CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Connecting to database specified by database.yml  (19.5ms) DROP TABLE `ominous_closers`  (253.3ms) CREATE TABLE `ominous_closers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (58.3ms) DROP TABLE `ominous_warning_closers`  (255.0ms) CREATE TABLE `ominous_warning_closers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `warning_id` int(11), `closer_id` int(11), `position` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (82.4ms) DROP TABLE `ominous_warnings`  (254.9ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (1.6ms) SELECT version FROM `schema_migrations`  (57.9ms) INSERT INTO `schema_migrations` (version) VALUES ('0')  (16.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Connecting to database specified by database.yml  (24.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateOminousWarnings (20121206144249)  (1.4ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Mysql2::Error: Table 'ominous_warnings' already exists: CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Connecting to database specified by database.yml Connecting to database specified by database.yml  (137.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB  (403.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)  (8.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateOminousWarnings (20121206144249)  (168.2ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (42.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121206144249') Migrating to CreateOminousWarningClosers (20121206145743)  (195.6ms) CREATE TABLE `ominous_warning_closers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `warning_id` int(11), `closer_id` int(11), `position` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (31.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121206145743') Migrating to CreateOminousClosers (20121206153254)  (173.7ms) CREATE TABLE `ominous_closers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (41.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121206153254') Migrating to CreateThings (20121207090710)  (109.9ms) CREATE TABLE `things` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `has_warning` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (109.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121207090710')  (1.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (7.0ms) SET FOREIGN_KEY_CHECKS = 0  (1.0ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 10:00:16', '2012-12-07 10:00:16') Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 10:00:16', '2012-12-07 10:00:16') Fixture Delete (5.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:00:16', '2012-12-07 10:00:16', 980190962) Fixture Insert (2.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:00:16', '2012-12-07 10:00:16', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:00:16', '2012-12-07 10:00:16', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (3.1ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:00:16', '2012-12-07 10:00:16') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:00:16', '2012-12-07 10:00:16') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:00:16', '2012-12-07 10:00:16') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:00:16', '2012-12-07 10:00:16')  (74.5ms) COMMIT  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.7ms) BEGIN  (0.6ms) ROLLBACK  (0.9ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:00:16', NULL, 'Foo', '2012-12-07 10:00:16')  (3.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/3 Completed 302 Found in 14ms (ActiveRecord: 4.9ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (29.9ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.6ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (43.9ms) ROLLBACK  (0.6ms) BEGIN Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.1ms) Completed 200 OK in 64ms (Views: 61.9ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.4ms) SELECT `things`.* FROM `things`  Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 1.4ms)  (0.8ms) ROLLBACK  (5.0ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (12.1ms) Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 0.0ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Completed 500 Internal Server Error in 4ms  (1.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (4.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 4.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 1.9ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 10:01:54', '2012-12-07 10:01:54') Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 10:01:54', '2012-12-07 10:01:54') Fixture Delete (1.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:01:54', '2012-12-07 10:01:54', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:01:54', '2012-12-07 10:01:54', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:01:54', '2012-12-07 10:01:54', 113629430) Fixture Delete (6.4ms) DELETE FROM `ominous_closers` Fixture Insert (1.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:01:54', '2012-12-07 10:01:54') Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:01:54', '2012-12-07 10:01:54') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (8.1ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:01:54', '2012-12-07 10:01:54') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:01:54', '2012-12-07 10:01:54')  (117.0ms) COMMIT  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (1.1ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:01:55', NULL, 'Foo', '2012-12-07 10:01:55')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/4 Completed 302 Found in 12ms (ActiveRecord: 2.3ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (52.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 10ms (ActiveRecord: 2.6ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (25.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.8ms) Completed 200 OK in 72ms (Views: 68.9ms | ActiveRecord: 0.7ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.8ms)  (1.0ms) ROLLBACK  (0.7ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (6.6ms) Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.0ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Completed 500 Internal Server Error in 4ms  (1.2ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (10.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 16ms (Views: 3.9ms | ActiveRecord: 10.8ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (3.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (2.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 3.7ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (8.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (2.3ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 10:02:14', '2012-12-07 10:02:14') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 10:02:14', '2012-12-07 10:02:14') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:02:14', '2012-12-07 10:02:14', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:02:14', '2012-12-07 10:02:14', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:02:14', '2012-12-07 10:02:14', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:02:14', '2012-12-07 10:02:14') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:02:14', '2012-12-07 10:02:14') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:02:14', '2012-12-07 10:02:14') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:02:14', '2012-12-07 10:02:14')  (85.1ms) COMMIT  (1.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Ominous::Warning Load (5.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:02:15', NULL, 'Foo', '2012-12-07 10:02:15')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/5 Completed 302 Found in 11ms (ActiveRecord: 2.3ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (37.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (7.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (3.1ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (4.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 13ms (ActiveRecord: 9.3ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (36.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (3.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.6ms) Completed 200 OK in 63ms (Views: 57.7ms | ActiveRecord: 3.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.9ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Completed 200 OK in 11ms (Views: 6.7ms | ActiveRecord: 1.2ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (4.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 4.0ms)  (0.7ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 10ms (ActiveRecord: 2.0ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (5.0ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'one', '2012-12-07 10:03:46', '2012-12-07 10:03:46') Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'two', '2012-12-07 10:03:46', '2012-12-07 10:03:46') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:03:46', '2012-12-07 10:03:46', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:03:46', '2012-12-07 10:03:46', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:03:46', '2012-12-07 10:03:46', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:03:46', '2012-12-07 10:03:46') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:03:46', '2012-12-07 10:03:46') Fixture Delete (1.0ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:03:46', '2012-12-07 10:03:46') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:03:46', '2012-12-07 10:03:46')  (53.8ms) COMMIT  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (1.0ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:03:46', NULL, 'Foo', '2012-12-07 10:03:46')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/6 Completed 302 Found in 10ms (ActiveRecord: 2.1ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (46.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.7ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 3.7ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (67.3ms) ROLLBACK  (1.4ms) BEGIN Thing Load (9.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (24.8ms) Completed 200 OK in 117ms (Views: 114.9ms | ActiveRecord: 0.7ms)  (6.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (3.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 15ms (Views: 9.5ms | ActiveRecord: 3.8ms)  (3.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (3.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.2ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (3.0ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.7ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.7ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (3.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 9ms (ActiveRecord: 4.6ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (5.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:14:31', '2012-12-07 10:14:31') Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:14:31', '2012-12-07 10:14:31') Fixture Delete (2.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:14:31', '2012-12-07 10:14:31', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:14:31', '2012-12-07 10:14:31', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:14:31', '2012-12-07 10:14:31', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:14:31', '2012-12-07 10:14:31') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:14:31', '2012-12-07 10:14:31') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:14:31', '2012-12-07 10:14:31') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:14:31', '2012-12-07 10:14:31')  (62.2ms) COMMIT  (1.9ms) SET FOREIGN_KEY_CHECKS = 1  (1.4ms) BEGIN Ominous::Warning Load (3.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (2.7ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (7.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (5.7ms) ROLLBACK  (3.8ms) BEGIN  (0.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:14:31', NULL, 'Foo', '2012-12-07 10:14:31')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/7 Completed 302 Found in 12ms (ActiveRecord: 2.6ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (53.8ms) ROLLBACK  (2.3ms) BEGIN Thing Load (3.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (1.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (1.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (1.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 13ms (ActiveRecord: 4.9ms)  (1.2ms) SELECT COUNT(*) FROM `things`   (52.5ms) ROLLBACK  (1.9ms) BEGIN Thing Load (7.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (8.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (12.3ms) Completed 200 OK in 74ms (Views: 65.8ms | ActiveRecord: 1.3ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.2ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 1.2ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.7ms)  (5.1ms) ROLLBACK  (1.0ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 1.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 2.1ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (5.3ms) SET FOREIGN_KEY_CHECKS = 0  (8.4ms) BEGIN Fixture Delete (1.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:15:44', '2012-12-07 10:15:44') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:15:44', '2012-12-07 10:15:44') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:15:44', '2012-12-07 10:15:44', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:15:44', '2012-12-07 10:15:44', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:15:44', '2012-12-07 10:15:44', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:15:44', '2012-12-07 10:15:44') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:15:44', '2012-12-07 10:15:44') Fixture Delete (1.2ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:15:44', '2012-12-07 10:15:44') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:15:44', '2012-12-07 10:15:44')  (94.1ms) COMMIT  (2.0ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (1.9ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:15:45', NULL, 'Foo', '2012-12-07 10:15:45')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/8 Completed 302 Found in 12ms (ActiveRecord: 2.2ms)  (1.1ms) SELECT COUNT(*) FROM `things`   (40.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (1.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 2.9ms)  (1.9ms) SELECT COUNT(*) FROM `things`   (48.0ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (17.3ms) Completed 200 OK in 102ms (Views: 98.7ms | ActiveRecord: 1.2ms)  (0.7ms) ROLLBACK  (2.2ms) BEGIN Thing Load (5.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (6.2ms) ROLLBACK  (6.2ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (10.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Completed 200 OK in 17ms (Views: 4.9ms | ActiveRecord: 10.1ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 2.0ms)  (2.8ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (2.8ms) BEGIN Fixture Delete (1.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:18:11', '2012-12-07 10:18:11') Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:18:11', '2012-12-07 10:18:11') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:18:11', '2012-12-07 10:18:11', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:18:11', '2012-12-07 10:18:11', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:18:11', '2012-12-07 10:18:11', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:18:11', '2012-12-07 10:18:11') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:18:11', '2012-12-07 10:18:11') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:18:11', '2012-12-07 10:18:11') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:18:11', '2012-12-07 10:18:11')  (44.6ms) COMMIT  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (9.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (1.4ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (5.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (6.4ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (1.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:18:12', NULL, 'Foo', '2012-12-07 10:18:12')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/9 Completed 302 Found in 12ms (ActiveRecord: 2.7ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (36.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.6ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (42.0ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.6ms) Completed 200 OK in 68ms (Views: 64.9ms | ActiveRecord: 1.1ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.6ms)  (1.3ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 9ms (ActiveRecord: 1.7ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (4.9ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:19:56', '2012-12-07 10:19:56') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:19:56', '2012-12-07 10:19:56') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:19:56', '2012-12-07 10:19:56', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:19:56', '2012-12-07 10:19:56', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:19:56', '2012-12-07 10:19:56', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:19:56', '2012-12-07 10:19:56') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:19:56', '2012-12-07 10:19:56') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:19:56', '2012-12-07 10:19:56') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:19:56', '2012-12-07 10:19:56')  (59.8ms) COMMIT  (2.3ms) SET FOREIGN_KEY_CHECKS = 1  (1.5ms) BEGIN Ominous::Warning Load (4.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.8ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.8ms) SAVEPOINT active_record_1 SQL (7.4ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:19:56', NULL, 'Foo', '2012-12-07 10:19:56')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/10 Completed 302 Found in 16ms (ActiveRecord: 8.8ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (46.3ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (1.2ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (1.2ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 3.6ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (46.2ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.4ms) Completed 200 OK in 74ms (Views: 70.6ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.2ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 1.2ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (2.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 10ms (Views: 3.0ms | ActiveRecord: 3.3ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (5.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 12ms (ActiveRecord: 6.8ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (8.1ms) SET FOREIGN_KEY_CHECKS = 0  (9.6ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:22:54', '2012-12-07 10:22:54') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:22:54', '2012-12-07 10:22:54') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:22:54', '2012-12-07 10:22:54', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:22:54', '2012-12-07 10:22:54', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:22:54', '2012-12-07 10:22:54', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:22:54', '2012-12-07 10:22:54') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:22:54', '2012-12-07 10:22:54') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:22:54', '2012-12-07 10:22:54') Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:22:54', '2012-12-07 10:22:54')  (71.0ms) COMMIT  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.5ms) BEGIN Ominous::Warning Load (3.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (2.3ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:22:54', NULL, 'Foo', '2012-12-07 10:22:54')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/11 Completed 302 Found in 12ms (ActiveRecord: 2.2ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (38.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 2.7ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (36.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (18.4ms) Completed 500 Internal Server Error in 202ms  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 28ms  (3.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (6.1ms) Completed 500 Internal Server Error in 32ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 33ms  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 47ms  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (3.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 10ms (ActiveRecord: 4.9ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (1.4ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (1.2ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:31:19', '2012-12-07 10:31:19') Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:31:19', '2012-12-07 10:31:19') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:31:19', '2012-12-07 10:31:19', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:31:19', '2012-12-07 10:31:19', 298486374) Fixture Insert (1.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:31:19', '2012-12-07 10:31:19', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:31:19', '2012-12-07 10:31:19') Fixture Insert (0.9ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:31:19', '2012-12-07 10:31:19') Fixture Delete (1.0ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:31:19', '2012-12-07 10:31:19') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:31:19', '2012-12-07 10:31:19')  (48.3ms) COMMIT  (5.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (3.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:31:19', NULL, 'Foo', '2012-12-07 10:31:19')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/12 Completed 302 Found in 11ms (ActiveRecord: 2.3ms)  (3.6ms) SELECT COUNT(*) FROM `things`   (68.0ms) ROLLBACK  (1.3ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.0ms) SAVEPOINT active_record_1 SQL (1.0ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 16ms (ActiveRecord: 3.8ms)  (1.9ms) SELECT COUNT(*) FROM `things`   (44.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.1ms) Completed 500 Internal Server Error in 106ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.0ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 35ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.6ms) Completed 500 Internal Server Error in 28ms  (0.7ms) ROLLBACK  (1.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 31ms  (0.7ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 63ms  (0.9ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (3.6ms) SAVEPOINT active_record_1  (6.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 14ms (ActiveRecord: 10.9ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (5.6ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:32:07', '2012-12-07 10:32:07') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:32:07', '2012-12-07 10:32:07') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:32:07', '2012-12-07 10:32:07', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:32:07', '2012-12-07 10:32:07', 298486374) Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:32:07', '2012-12-07 10:32:07', 113629430) Fixture Delete (1.6ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:32:07', '2012-12-07 10:32:07') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:32:07', '2012-12-07 10:32:07') Fixture Delete (0.6ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:32:07', '2012-12-07 10:32:07') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:32:07', '2012-12-07 10:32:07')  (59.6ms) COMMIT  (1.0ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) BEGIN Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.8ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:32:08', NULL, 'Foo', '2012-12-07 10:32:08')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/13 Completed 302 Found in 10ms (ActiveRecord: 2.3ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (28.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.1ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 3.2ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (36.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (21.1ms) Completed 500 Internal Server Error in 178ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.1ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 27ms  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.5ms) Completed 500 Internal Server Error in 30ms  (0.7ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 31ms  (0.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 49ms  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 2.2ms)  (3.3ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (5.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.1ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:32:40', '2012-12-07 10:32:40') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:32:40', '2012-12-07 10:32:40') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:32:40', '2012-12-07 10:32:40', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:32:40', '2012-12-07 10:32:40', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:32:40', '2012-12-07 10:32:40', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:32:40', '2012-12-07 10:32:40') Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:32:40', '2012-12-07 10:32:40') Fixture Delete (0.7ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:32:40', '2012-12-07 10:32:40') Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:32:40', '2012-12-07 10:32:40')  (89.0ms) COMMIT  (1.4ms) SET FOREIGN_KEY_CHECKS = 1  (9.6ms) BEGIN Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.7ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (4.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (4.3ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (4.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (5.9ms) ROLLBACK  (7.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (7.6ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:32:40', NULL, 'Foo', '2012-12-07 10:32:40')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/14 Completed 302 Found in 10ms (ActiveRecord: 2.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (33.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (1.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 3.2ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (41.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.2ms) Completed 500 Internal Server Error in 111ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 41ms  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.2ms) Completed 500 Internal Server Error in 26ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 35ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 49ms  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (1.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 9ms (ActiveRecord: 2.9ms)  (0.8ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (12.4ms) SET FOREIGN_KEY_CHECKS = 0  (3.0ms) BEGIN Fixture Delete (1.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:33:06', '2012-12-07 10:33:06') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:33:06', '2012-12-07 10:33:06') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:33:06', '2012-12-07 10:33:06', 980190962) Fixture Insert (3.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:33:06', '2012-12-07 10:33:06', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:33:06', '2012-12-07 10:33:06', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:33:06', '2012-12-07 10:33:06') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:33:06', '2012-12-07 10:33:06') Fixture Delete (0.6ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:33:06', '2012-12-07 10:33:06') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:33:06', '2012-12-07 10:33:06')  (29.2ms) COMMIT  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (7.3ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (4.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (4.1ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (7.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (1.6ms) BEGIN  (7.3ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:33:07', NULL, 'Foo', '2012-12-07 10:33:07')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/15 Completed 302 Found in 10ms (ActiveRecord: 2.0ms)  (1.3ms) SELECT COUNT(*) FROM `things`   (42.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.7ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 3.7ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (40.2ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.5ms) Completed 200 OK in 65ms (Views: 62.3ms | ActiveRecord: 1.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.7ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 1.4ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.1ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.3ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 2.6ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (6.2ms) SET FOREIGN_KEY_CHECKS = 0  (1.6ms) BEGIN Fixture Delete (1.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:33:40', '2012-12-07 10:33:40') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:33:40', '2012-12-07 10:33:40') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:33:40', '2012-12-07 10:33:40', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:33:40', '2012-12-07 10:33:40', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:33:40', '2012-12-07 10:33:40', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:33:40', '2012-12-07 10:33:40') Fixture Insert (1.0ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:33:40', '2012-12-07 10:33:40') Fixture Delete (0.9ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:33:40', '2012-12-07 10:33:40') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:33:40', '2012-12-07 10:33:40')  (79.6ms) COMMIT  (1.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.4ms) BEGIN Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (3.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:33:40', NULL, 'Foo', '2012-12-07 10:33:40')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/16 Completed 302 Found in 11ms (ActiveRecord: 2.4ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (51.2ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (1.1ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 3.0ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (43.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (6.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (12.0ms) Completed 500 Internal Server Error in 148ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 27ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.6ms) Completed 500 Internal Server Error in 32ms  (0.7ms) ROLLBACK  (0.9ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 25ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 54ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 2.5ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (5.3ms) SELECT @@FOREIGN_KEY_CHECKS  (1.2ms) SET FOREIGN_KEY_CHECKS = 0  (9.8ms) BEGIN Fixture Delete (5.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:34:20', '2012-12-07 10:34:20') Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:34:20', '2012-12-07 10:34:20') Fixture Delete (1.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:34:20', '2012-12-07 10:34:20', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:34:20', '2012-12-07 10:34:20', 298486374) Fixture Insert (1.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:34:20', '2012-12-07 10:34:20', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:34:20', '2012-12-07 10:34:20') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:34:20', '2012-12-07 10:34:20') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:34:20', '2012-12-07 10:34:20') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:34:20', '2012-12-07 10:34:20')  (61.0ms) COMMIT  (1.5ms) SET FOREIGN_KEY_CHECKS = 1  (1.7ms) BEGIN Ominous::Warning Load (2.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (1.0ms) BEGIN  (0.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:34:21', NULL, 'Foo', '2012-12-07 10:34:21')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/17 Completed 302 Found in 11ms (ActiveRecord: 3.3ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (40.0ms) ROLLBACK  (2.0ms) BEGIN Thing Load (7.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 2.9ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (41.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.7ms) Completed 200 OK in 62ms (Views: 58.2ms | ActiveRecord: 1.9ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (7.4ms) Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.7ms) BEGIN Thing Load (4.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (6.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (4.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 22ms (Views: 10.8ms | ActiveRecord: 5.5ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 9ms (ActiveRecord: 1.8ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (1.8ms) SELECT @@FOREIGN_KEY_CHECKS  (2.1ms) SET FOREIGN_KEY_CHECKS = 0  (1.1ms) BEGIN Fixture Delete (1.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:44:33', '2012-12-07 10:44:33') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:44:33', '2012-12-07 10:44:33') Fixture Delete (1.1ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:44:33', '2012-12-07 10:44:33', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:44:33', '2012-12-07 10:44:33', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:44:33', '2012-12-07 10:44:33', 113629430) Fixture Delete (1.0ms) DELETE FROM `ominous_closers` Fixture Insert (0.9ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:44:33', '2012-12-07 10:44:33') Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:44:33', '2012-12-07 10:44:33') Fixture Delete (1.2ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:44:33', '2012-12-07 10:44:33') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:44:33', '2012-12-07 10:44:33')  (101.4ms) COMMIT  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (1.7ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (2.2ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:44:33', NULL, 'Foo', '2012-12-07 10:44:33')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/18 Completed 302 Found in 10ms (ActiveRecord: 2.1ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (41.0ms) ROLLBACK  (0.6ms) BEGIN Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (1.6ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 14ms (ActiveRecord: 5.0ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (62.9ms) ROLLBACK  (1.7ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (10.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.6ms) Completed 200 OK in 117ms (Views: 104.5ms | ActiveRecord: 10.9ms)  (0.7ms) ROLLBACK  (0.9ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.0ms) SELECT `things`.* FROM `things`  Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 1.0ms)  (0.8ms) ROLLBACK  (3.1ms) BEGIN Thing Load (4.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 11ms (Views: 6.2ms | ActiveRecord: 1.4ms)  (4.5ms) ROLLBACK  (0.9ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 1.1ms)  (3.1ms) ROLLBACK  (0.9ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 2.4ms)  (0.8ms) ROLLBACK Connecting to database specified by database.yml  (1.5ms) SELECT @@FOREIGN_KEY_CHECKS  (4.0ms) SET FOREIGN_KEY_CHECKS = 0  (3.6ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:51:50', '2012-12-07 10:51:50') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:51:50', '2012-12-07 10:51:50') Fixture Delete (2.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:51:50', '2012-12-07 10:51:50', 980190962) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:51:50', '2012-12-07 10:51:50', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:51:50', '2012-12-07 10:51:50', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:51:50', '2012-12-07 10:51:50') Fixture Insert (3.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:51:50', '2012-12-07 10:51:50') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (2.9ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:51:50', '2012-12-07 10:51:50') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:51:50', '2012-12-07 10:51:50')  (89.1ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (3.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (4.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.8ms) ROLLBACK  (0.8ms) BEGIN Ominous::Warning Load (7.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (6.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (5.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (6.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:51:51', NULL, 'Foo', '2012-12-07 10:51:51')  (3.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/19 Completed 302 Found in 18ms (ActiveRecord: 5.2ms)  (1.2ms) SELECT COUNT(*) FROM `things`  (42.4ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 11ms (ActiveRecord: 2.7ms)  (2.5ms) SELECT COUNT(*) FROM `things`   (48.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (12.8ms) Completed 200 OK in 111ms (Views: 100.7ms | ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.8ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.9ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (4.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 11ms (Views: 3.5ms | ActiveRecord: 4.9ms)  (1.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 12ms (Views: 4.6ms | ActiveRecord: 1.7ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 3.2ms)  (2.4ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (2.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 13ms (ActiveRecord: 3.3ms)  (7.3ms) ROLLBACK Connecting to database specified by database.yml  (6.8ms) SELECT @@FOREIGN_KEY_CHECKS  (3.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:52:19', '2012-12-07 10:52:19') Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:52:19', '2012-12-07 10:52:19') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:52:19', '2012-12-07 10:52:19', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:52:19', '2012-12-07 10:52:19', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:52:19', '2012-12-07 10:52:19', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:52:20', '2012-12-07 10:52:20') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:52:20', '2012-12-07 10:52:20') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:52:20', '2012-12-07 10:52:20') Fixture Insert (1.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:52:20', '2012-12-07 10:52:20')  (43.2ms) COMMIT  (1.1ms) SET FOREIGN_KEY_CHECKS = 1  (1.4ms) BEGIN Ominous::Warning Load (2.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (5.3ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (7.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (7.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (6.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.8ms) SAVEPOINT active_record_1 SQL (6.1ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:52:20', NULL, 'Foo', '2012-12-07 10:52:20')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/20 Completed 302 Found in 14ms (ActiveRecord: 7.4ms)  (6.3ms) SELECT COUNT(*) FROM `things`  (48.9ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (1.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 10ms (ActiveRecord: 4.3ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (41.1ms) ROLLBACK  (1.7ms) BEGIN Thing Load (5.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (8.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.9ms) Completed 200 OK in 70ms (Views: 60.6ms | ActiveRecord: 2.7ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (5.5ms) Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 10ms (Views: 3.6ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 1.7ms)  (1.8ms) ROLLBACK  (2.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (2.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 2.6ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 9ms (ActiveRecord: 2.0ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (8.8ms) SELECT @@FOREIGN_KEY_CHECKS  (2.0ms) SET FOREIGN_KEY_CHECKS = 0  (5.5ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:53:19', '2012-12-07 10:53:19') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:53:19', '2012-12-07 10:53:19') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:53:19', '2012-12-07 10:53:19', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:53:19', '2012-12-07 10:53:19', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:53:19', '2012-12-07 10:53:19', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:53:19', '2012-12-07 10:53:19') Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:53:19', '2012-12-07 10:53:19') Fixture Delete (0.7ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:53:19', '2012-12-07 10:53:19') Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:53:19', '2012-12-07 10:53:19')  (27.1ms) COMMIT  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.6ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (3.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (2.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (1.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:53:20', NULL, 'Foo', '2012-12-07 10:53:20')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/21 Completed 302 Found in 11ms (ActiveRecord: 2.5ms)  (1.0ms) SELECT COUNT(*) FROM `things`  (26.5ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.8ms)  (3.4ms) SELECT COUNT(*) FROM `things`   (35.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.4ms) Completed 500 Internal Server Error in 72ms  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.6ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 15ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.7ms) Completed 500 Internal Server Error in 8ms  (7.7ms) ROLLBACK  (1.1ms) BEGIN Thing Load (4.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (6.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 6ms  (8.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (4.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (5.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 14ms  (1.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (8.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 4ms  (8.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (4.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (4.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 13ms (ActiveRecord: 9.5ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (6.5ms) SET FOREIGN_KEY_CHECKS = 0  (2.8ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (3.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:54:03', '2012-12-07 10:54:03') Fixture Insert (2.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:54:03', '2012-12-07 10:54:03') Fixture Delete (1.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:54:04', '2012-12-07 10:54:04', 980190962) Fixture Insert (1.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:54:04', '2012-12-07 10:54:04', 298486374) Fixture Insert (2.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:54:04', '2012-12-07 10:54:04', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (2.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:54:04', '2012-12-07 10:54:04') Fixture Insert (2.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:54:04', '2012-12-07 10:54:04') Fixture Delete (4.2ms) DELETE FROM `things` Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:54:04', '2012-12-07 10:54:04') Fixture Insert (1.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:54:04', '2012-12-07 10:54:04')  (54.7ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (2.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (4.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (3.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (6.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (1.2ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.7ms) BEGIN Thing Load (4.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:54:04', NULL, 'Foo', '2012-12-07 10:54:04')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/22 Completed 302 Found in 12ms (ActiveRecord: 2.0ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (42.8ms) ROLLBACK  (1.9ms) BEGIN Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (5.4ms) SAVEPOINT active_record_1 SQL (5.0ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 18ms (ActiveRecord: 12.1ms)  (2.4ms) SELECT COUNT(*) FROM `things`   (37.0ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (5.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (18.3ms) Completed 200 OK in 131ms (Views: 123.0ms | ActiveRecord: 5.7ms)  (4.2ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (4.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 20ms (Views: 13.4ms | ActiveRecord: 4.8ms)  (1.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (7.4ms) Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)  (4.0ms) ROLLBACK  (0.6ms) BEGIN Thing Load (4.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (5.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 26ms (Views: 19.2ms | ActiveRecord: 5.3ms)  (0.7ms) ROLLBACK  (1.1ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 9ms (Views: 5.0ms | ActiveRecord: 1.4ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (6.1ms) SAVEPOINT active_record_1  (3.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 15ms (ActiveRecord: 10.1ms)  (3.2ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (2.0ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:54:13', '2012-12-07 10:54:13') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:54:13', '2012-12-07 10:54:13') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:54:13', '2012-12-07 10:54:13', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:54:13', '2012-12-07 10:54:13', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:54:13', '2012-12-07 10:54:13', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:54:13', '2012-12-07 10:54:13') Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:54:13', '2012-12-07 10:54:13') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:54:13', '2012-12-07 10:54:13') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:54:13', '2012-12-07 10:54:13')  (59.8ms) COMMIT  (2.1ms) SET FOREIGN_KEY_CHECKS = 1  (1.6ms) BEGIN Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (3.8ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.1ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (3.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:54:13', NULL, 'Foo', '2012-12-07 10:54:13')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/23 Completed 302 Found in 14ms (ActiveRecord: 4.8ms)  (5.5ms) SELECT COUNT(*) FROM `things`  (43.8ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (7.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (4.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 10ms (ActiveRecord: 7.0ms)  (3.3ms) SELECT COUNT(*) FROM `things`   (35.1ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.9ms) Completed 200 OK in 65ms (Views: 61.0ms | ActiveRecord: 1.8ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.8ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 13ms (Views: 3.0ms | ActiveRecord: 0.4ms)  (6.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 1.3ms)  (0.6ms) ROLLBACK  (1.4ms) BEGIN Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.6ms)  (1.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.5ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 11ms (ActiveRecord: 2.7ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (1.6ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:58:29', '2012-12-07 10:58:29') Fixture Insert (1.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:58:29', '2012-12-07 10:58:29') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:58:29', '2012-12-07 10:58:29', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:58:29', '2012-12-07 10:58:29', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:58:29', '2012-12-07 10:58:29', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:58:29', '2012-12-07 10:58:29') Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:58:29', '2012-12-07 10:58:29') Fixture Delete (0.7ms) DELETE FROM `things` Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:58:29', '2012-12-07 10:58:29') Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:58:29', '2012-12-07 10:58:29')  (60.6ms) COMMIT  (6.9ms) SET FOREIGN_KEY_CHECKS = 1  (1.6ms) BEGIN Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:58:29', NULL, 'Foo', '2012-12-07 10:58:29')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/24 Completed 302 Found in 11ms (ActiveRecord: 2.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (55.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (4.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 2.5ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (53.5ms) ROLLBACK  (2.0ms) BEGIN Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.6ms) Completed 500 Internal Server Error in 107ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 35ms  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.5ms) Completed 500 Internal Server Error in 31ms  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 34ms  (0.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (4.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 96ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 48ms  (0.8ms) ROLLBACK  (3.0ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (5.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 10ms (ActiveRecord: 7.2ms)  (2.7ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (5.4ms) SET FOREIGN_KEY_CHECKS = 0  (2.9ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 10:59:12', '2012-12-07 10:59:12') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 10:59:12', '2012-12-07 10:59:12') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 10:59:12', '2012-12-07 10:59:12', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 10:59:12', '2012-12-07 10:59:12', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 10:59:12', '2012-12-07 10:59:12', 113629430) Fixture Delete (0.9ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 10:59:12', '2012-12-07 10:59:12') Fixture Insert (0.9ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 10:59:12', '2012-12-07 10:59:12') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 10:59:12', '2012-12-07 10:59:12') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 10:59:12', '2012-12-07 10:59:12')  (61.8ms) COMMIT  (9.1ms) SET FOREIGN_KEY_CHECKS = 1  (1.8ms) BEGIN Ominous::Warning Load (7.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.1ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.8ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 10:59:12', NULL, 'Foo', '2012-12-07 10:59:12')  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/25 Completed 302 Found in 13ms (ActiveRecord: 4.0ms)  (1.5ms) SELECT COUNT(*) FROM `things`  (56.1ms) ROLLBACK  (2.1ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.2ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.0ms) SAVEPOINT active_record_1 SQL (1.3ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 13ms (ActiveRecord: 4.1ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (43.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (26.3ms) Completed 500 Internal Server Error in 195ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.0ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 26ms  (1.0ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.6ms) Completed 500 Internal Server Error in 32ms  (0.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 26ms  (0.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 53ms  (1.9ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 22ms  (0.7ms) ROLLBACK  (1.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 2.5ms)  (5.0ms) ROLLBACK Connecting to database specified by database.yml  (3.1ms) SELECT @@FOREIGN_KEY_CHECKS  (1.5ms) SET FOREIGN_KEY_CHECKS = 0  (12.2ms) BEGIN Fixture Delete (7.0ms) DELETE FROM `ominous_warnings` Fixture Insert (8.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:00:53', '2012-12-07 11:00:53') Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:00:53', '2012-12-07 11:00:53') Fixture Delete (1.0ms) DELETE FROM `ominous_warning_closers` Fixture Insert (5.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:00:54', '2012-12-07 11:00:54', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:00:54', '2012-12-07 11:00:54', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:00:54', '2012-12-07 11:00:54', 113629430) Fixture Delete (2.4ms) DELETE FROM `ominous_closers` Fixture Insert (1.0ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:00:54', '2012-12-07 11:00:54') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:00:54', '2012-12-07 11:00:54') Fixture Delete (0.6ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:00:54', '2012-12-07 11:00:54') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:00:54', '2012-12-07 11:00:54')  (61.3ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (1.2ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (2.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:00:54', NULL, 'Foo', '2012-12-07 11:00:54')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/26 Completed 302 Found in 11ms (ActiveRecord: 2.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (47.3ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (3.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 15ms (ActiveRecord: 6.1ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (47.1ms) ROLLBACK  (0.7ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.8ms) Completed 500 Internal Server Error in 123ms  (0.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (4.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (7.3ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 72ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (6.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.6ms) Completed 500 Internal Server Error in 53ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (4.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 42ms  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 53ms  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 23ms  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.8ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (2.3ms) SELECT @@FOREIGN_KEY_CHECKS  (4.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:02:27', '2012-12-07 11:02:27') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:02:27', '2012-12-07 11:02:27') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:02:27', '2012-12-07 11:02:27', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:02:27', '2012-12-07 11:02:27', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:02:27', '2012-12-07 11:02:27', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:02:27', '2012-12-07 11:02:27') Fixture Insert (2.9ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:02:27', '2012-12-07 11:02:27') Fixture Delete (0.9ms) DELETE FROM `things` Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:02:27', '2012-12-07 11:02:27') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:02:27', '2012-12-07 11:02:27')  (65.9ms) COMMIT  (2.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.7ms) BEGIN Ominous::Warning Load (8.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (6.1ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (7.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (2.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (2.8ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:02:28', NULL, 'Foo', '2012-12-07 11:02:28')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/27 Completed 302 Found in 13ms (ActiveRecord: 2.3ms)  (1.1ms) SELECT COUNT(*) FROM `things`  (46.0ms) ROLLBACK  (2.2ms) BEGIN Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 15ms (ActiveRecord: 3.5ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (39.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (13.3ms) Completed 500 Internal Server Error in 106ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 500 Internal Server Error in 31ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (5.2ms) Completed 500 Internal Server Error in 29ms  (0.9ms) ROLLBACK  (2.7ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 23ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 57ms  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 27ms  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.7ms) SAVEPOINT active_record_1  (8.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 16ms (ActiveRecord: 12.0ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (7.3ms) DELETE FROM `ominous_warnings` Fixture Insert (3.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:03:47', '2012-12-07 11:03:47') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:03:47', '2012-12-07 11:03:47') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:03:47', '2012-12-07 11:03:47', 980190962) Fixture Insert (1.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:03:47', '2012-12-07 11:03:47', 298486374) Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:03:47', '2012-12-07 11:03:47', 113629430) Fixture Delete (1.6ms) DELETE FROM `ominous_closers` Fixture Insert (1.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:03:47', '2012-12-07 11:03:47') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:03:47', '2012-12-07 11:03:47') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:03:47', '2012-12-07 11:03:47') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:03:47', '2012-12-07 11:03:47')  (24.5ms) COMMIT  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (3.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (1.5ms) ROLLBACK  (0.6ms) BEGIN  (1.8ms) ROLLBACK  (0.7ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.9ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:03:48', NULL, 'Foo', '2012-12-07 11:03:48')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/28 Completed 302 Found in 13ms (ActiveRecord: 2.3ms)  (0.9ms) SELECT COUNT(*) FROM `things`  (45.9ms) ROLLBACK  (2.1ms) BEGIN Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.1ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 16ms (ActiveRecord: 4.9ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (53.7ms) ROLLBACK  (2.6ms) BEGIN Thing Load (2.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.0ms) Completed 200 OK in 59ms (Views: 56.5ms | ActiveRecord: 1.0ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.2ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 1.2ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (8.8ms) Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)  (5.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (6.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 16ms (Views: 8.5ms | ActiveRecord: 6.0ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (3.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 4.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.6ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (3.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 13ms (ActiveRecord: 5.0ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (4.0ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:04:10', '2012-12-07 11:04:10') Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:04:10', '2012-12-07 11:04:10') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:04:10', '2012-12-07 11:04:10', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:04:10', '2012-12-07 11:04:10', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:04:10', '2012-12-07 11:04:10', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:04:10', '2012-12-07 11:04:10') Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:04:10', '2012-12-07 11:04:10') Fixture Delete (0.7ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:04:10', '2012-12-07 11:04:10') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:04:10', '2012-12-07 11:04:10')  (63.3ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (2.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (3.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:04:11', NULL, 'Foo', '2012-12-07 11:04:11')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/29 Completed 302 Found in 15ms (ActiveRecord: 4.9ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (72.5ms) ROLLBACK  (2.5ms) BEGIN Thing Load (3.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (6.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.7ms) SAVEPOINT active_record_1 SQL (1.0ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 13ms (ActiveRecord: 4.1ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (51.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (13.2ms) Completed 200 OK in 64ms (Views: 61.4ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.4ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.6ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 2.4ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (1.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 2.6ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (3.0ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (2.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:19:26', '2012-12-07 11:19:26') Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:19:26', '2012-12-07 11:19:26') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:19:26', '2012-12-07 11:19:26', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:19:26', '2012-12-07 11:19:26', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:19:26', '2012-12-07 11:19:26', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:19:26', '2012-12-07 11:19:26') Fixture Insert (2.0ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:19:26', '2012-12-07 11:19:26') Fixture Delete (0.7ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:19:26', '2012-12-07 11:19:26') Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:19:26', '2012-12-07 11:19:26')  (86.1ms) COMMIT  (1.3ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (1.8ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:19:27', NULL, 'Foo', '2012-12-07 11:19:27')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/30 Completed 302 Found in 12ms (ActiveRecord: 3.5ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (64.7ms) ROLLBACK  (4.6ms) BEGIN Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (3.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.9ms) SAVEPOINT active_record_1 SQL (5.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (1.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 28ms (ActiveRecord: 11.4ms)  (3.5ms) SELECT COUNT(*) FROM `things`   (46.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (7.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (5.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.8ms) Completed 200 OK in 87ms (Views: 80.3ms | ActiveRecord: 5.3ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.6ms) Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (2.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.8ms)  (1.0ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 1.4ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.7ms)  (2.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (4.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 12ms (ActiveRecord: 5.8ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (5.2ms) SET FOREIGN_KEY_CHECKS = 0  (1.6ms) BEGIN Fixture Delete (3.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:20:39', '2012-12-07 11:20:39') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:20:39', '2012-12-07 11:20:39') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:20:39', '2012-12-07 11:20:39', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:20:39', '2012-12-07 11:20:39', 298486374) Fixture Insert (6.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:20:39', '2012-12-07 11:20:39', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:20:39', '2012-12-07 11:20:39') Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:20:39', '2012-12-07 11:20:39') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:20:39', '2012-12-07 11:20:39') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:20:39', '2012-12-07 11:20:39')  (104.8ms) COMMIT  (1.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (4.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.4ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.5ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:20:40', NULL, 'Foo', '2012-12-07 11:20:40')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/31 Completed 302 Found in 16ms (ActiveRecord: 4.2ms)  (6.6ms) SELECT COUNT(*) FROM `things`  (38.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (5.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 11ms (ActiveRecord: 7.8ms)  (4.0ms) SELECT COUNT(*) FROM `things`   (53.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (12.6ms) Completed 200 OK in 61ms (Views: 58.1ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.9ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.6ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 2.5ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (1.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 13ms (ActiveRecord: 1.7ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (1.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.7ms) BEGIN Fixture Delete (1.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:24:49', '2012-12-07 11:24:49') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:24:49', '2012-12-07 11:24:49') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:24:49', '2012-12-07 11:24:49', 980190962) Fixture Insert (7.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:24:49', '2012-12-07 11:24:49', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:24:49', '2012-12-07 11:24:49', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:24:49', '2012-12-07 11:24:49') Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:24:49', '2012-12-07 11:24:49') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:24:49', '2012-12-07 11:24:49') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:24:49', '2012-12-07 11:24:49')  (30.7ms) COMMIT  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.7ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:24:50', NULL, 'Foo', '2012-12-07 11:24:50')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/32 Completed 302 Found in 12ms (ActiveRecord: 2.3ms)  (0.9ms) SELECT COUNT(*) FROM `things`  (55.6ms) ROLLBACK  (1.9ms) BEGIN Thing Load (3.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 2.9ms)  (5.0ms) SELECT COUNT(*) FROM `things`   (44.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (5.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.1ms) Completed 200 OK in 114ms (Views: 107.2ms | ActiveRecord: 5.3ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.8ms)  (1.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.5ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.8ms)  (3.9ms) ROLLBACK  (2.0ms) BEGIN Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 12ms (Views: 9.5ms | ActiveRecord: 1.5ms)  (6.0ms) ROLLBACK  (0.5ms) BEGIN Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (3.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 13ms (Views: 4.5ms | ActiveRecord: 4.7ms)  (7.0ms) ROLLBACK  (0.6ms) BEGIN Thing Load (6.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 12ms (Views: 2.0ms | ActiveRecord: 3.7ms)  (8.9ms) ROLLBACK  (0.6ms) BEGIN Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (7.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (6.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (3.4ms) SAVEPOINT active_record_1  (4.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 20ms (ActiveRecord: 14.0ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (5.0ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:25:07', '2012-12-07 11:25:07') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:25:07', '2012-12-07 11:25:07') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:25:07', '2012-12-07 11:25:07', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:25:07', '2012-12-07 11:25:07', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:25:07', '2012-12-07 11:25:07', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:25:07', '2012-12-07 11:25:07') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:25:07', '2012-12-07 11:25:07') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:25:07', '2012-12-07 11:25:07') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:25:07', '2012-12-07 11:25:07')  (50.4ms) COMMIT  (1.8ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (7.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (6.0ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (6.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (4.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (1.3ms) ROLLBACK  (7.2ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (3.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:25:08', NULL, 'Foo', '2012-12-07 11:25:08')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/33 Completed 302 Found in 12ms (ActiveRecord: 2.0ms)  (0.7ms) SELECT COUNT(*) FROM `things`  (51.3ms) ROLLBACK  (1.8ms) BEGIN Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (6.3ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (1.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (1.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 15ms (ActiveRecord: 4.9ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (27.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.5ms) Completed 200 OK in 60ms (Views: 57.4ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.7ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.7ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 1.5ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (4.6ms) SET FOREIGN_KEY_CHECKS = 0  (7.1ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:26:09', '2012-12-07 11:26:09') Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:26:09', '2012-12-07 11:26:09') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:26:09', '2012-12-07 11:26:09', 980190962) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:26:09', '2012-12-07 11:26:09', 298486374) Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:26:09', '2012-12-07 11:26:09', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:26:09', '2012-12-07 11:26:09') Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:26:09', '2012-12-07 11:26:09') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:26:09', '2012-12-07 11:26:09') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:26:09', '2012-12-07 11:26:09')  (66.7ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (2.0ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.8ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:26:09', NULL, 'Foo', '2012-12-07 11:26:09')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/34 Completed 302 Found in 13ms (ActiveRecord: 2.3ms)  (1.1ms) SELECT COUNT(*) FROM `things`  (48.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.8ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (43.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.7ms) Completed 200 OK in 60ms (Views: 56.9ms | ActiveRecord: 1.2ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 200 OK in 18ms (Views: 14.6ms | ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (10.4ms) Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 1.2ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 2.3ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (8.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 17ms (Views: 7.5ms | ActiveRecord: 8.3ms)  (4.4ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (5.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (11.1ms) SAVEPOINT active_record_1  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 21ms (ActiveRecord: 17.7ms)  (0.8ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (3.6ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:26:43', '2012-12-07 11:26:43') Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:26:43', '2012-12-07 11:26:43') Fixture Delete (1.1ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:26:43', '2012-12-07 11:26:43', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:26:43', '2012-12-07 11:26:43', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:26:43', '2012-12-07 11:26:43', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:26:43', '2012-12-07 11:26:43') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:26:43', '2012-12-07 11:26:43') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:26:43', '2012-12-07 11:26:43') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:26:43', '2012-12-07 11:26:43')  (89.4ms) COMMIT  (3.3ms) SET FOREIGN_KEY_CHECKS = 1  (1.4ms) BEGIN Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (5.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (4.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (8.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (5.5ms) ROLLBACK  (2.8ms) BEGIN Thing Load (6.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:26:43', NULL, 'Foo', '2012-12-07 11:26:43')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/35 Completed 302 Found in 11ms (ActiveRecord: 1.7ms)  (0.7ms) SELECT COUNT(*) FROM `things`  (48.2ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 2.8ms)  (3.1ms) SELECT COUNT(*) FROM `things`   (38.0ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.9ms) Completed 200 OK in 62ms (Views: 59.6ms | ActiveRecord: 0.6ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (14.1ms) Completed 200 OK in 29ms (Views: 28.4ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (7.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.6ms)  (3.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 14ms (Views: 8.7ms | ActiveRecord: 2.4ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 1.6ms)  (1.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (5.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (11.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 16ms (ActiveRecord: 12.3ms)  (2.7ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (6.3ms) SET FOREIGN_KEY_CHECKS = 0  (1.9ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:29:54', '2012-12-07 11:29:54') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:29:54', '2012-12-07 11:29:54') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:29:54', '2012-12-07 11:29:54', 980190962) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:29:54', '2012-12-07 11:29:54', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:29:54', '2012-12-07 11:29:54', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:29:54', '2012-12-07 11:29:54') Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:29:54', '2012-12-07 11:29:54') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:29:54', '2012-12-07 11:29:54') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:29:54', '2012-12-07 11:29:54')  (67.6ms) COMMIT  (2.4ms) SET FOREIGN_KEY_CHECKS = 1  (3.6ms) BEGIN Ominous::Warning Load (3.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (4.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:29:54', NULL, 'Foo', '2012-12-07 11:29:54')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/36 Completed 302 Found in 18ms (ActiveRecord: 6.1ms)  (6.9ms) SELECT COUNT(*) FROM `things`  (44.3ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.9ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 5.0ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (46.5ms) ROLLBACK  (3.3ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.7ms) Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.7ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 1.2ms)  (0.9ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 1.5ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 1.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.3ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 2.7ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (5.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:31:13', '2012-12-07 11:31:13') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:31:13', '2012-12-07 11:31:13') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:31:13', '2012-12-07 11:31:13', 980190962) Fixture Insert (1.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:31:13', '2012-12-07 11:31:13', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:31:13', '2012-12-07 11:31:13', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:31:13', '2012-12-07 11:31:13') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:31:13', '2012-12-07 11:31:13') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (2.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:31:13', '2012-12-07 11:31:13') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:31:13', '2012-12-07 11:31:13')  (65.8ms) COMMIT  (1.4ms) SET FOREIGN_KEY_CHECKS = 1  (6.6ms) BEGIN Ominous::Warning Load (4.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.7ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:31:14', NULL, 'Foo', '2012-12-07 11:31:14')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/37 Completed 302 Found in 10ms (ActiveRecord: 2.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (40.7ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (5.2ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (6.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 11ms (ActiveRecord: 8.1ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (44.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.9ms) Completed 200 OK in 58ms (Views: 53.5ms | ActiveRecord: 2.5ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.1ms) SELECT `things`.* FROM `things`  Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (6.4ms) Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.7ms)  (1.9ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 1.0ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 1.0ms)  (0.5ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (5.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 10ms (ActiveRecord: 6.6ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.9ms) SET FOREIGN_KEY_CHECKS = 0  (1.7ms) BEGIN Fixture Delete (2.7ms) DELETE FROM `ominous_warnings` Fixture Insert (1.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 11:34:24', '2012-12-07 11:34:24') Fixture Insert (1.2ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 11:34:24', '2012-12-07 11:34:24') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 11:34:24', '2012-12-07 11:34:24', 980190962) Fixture Insert (1.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 11:34:24', '2012-12-07 11:34:24', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 11:34:24', '2012-12-07 11:34:24', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 11:34:24', '2012-12-07 11:34:24') Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 11:34:24', '2012-12-07 11:34:24') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (0.8ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 11:34:25', '2012-12-07 11:34:25') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 11:34:25', '2012-12-07 11:34:25')  (67.8ms) COMMIT  (3.2ms) SET FOREIGN_KEY_CHECKS = 1  (2.6ms) BEGIN Ominous::Warning Load (3.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (3.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (4.8ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (2.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN  (0.5ms) ROLLBACK  (0.7ms) BEGIN Thing Load (4.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (2.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (6.0ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 11:34:25', NULL, 'Foo', '2012-12-07 11:34:25')  (4.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/38 Completed 302 Found in 23ms (ActiveRecord: 15.7ms)  (6.6ms) SELECT COUNT(*) FROM `things`  (58.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (1.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 3.9ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (48.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.7ms) Completed 200 OK in 60ms (Views: 57.7ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.9ms)  (1.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.9ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.8ms)  (2.1ms) ROLLBACK  (0.8ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 1.2ms)  (3.0ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 10ms (Views: 3.0ms | ActiveRecord: 2.2ms)  (0.9ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.9ms)  (1.2ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (3.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (2.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 19ms (Views: 2.8ms | ActiveRecord: 5.4ms)  (9.2ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (7.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (7.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 13ms (ActiveRecord: 9.5ms)  (0.8ms) ROLLBACK Connecting to database specified by database.yml  (2.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) BEGIN Fixture Delete (2.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 12:21:19', '2012-12-07 12:21:19') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 12:21:19', '2012-12-07 12:21:19') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 12:21:19', '2012-12-07 12:21:19', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 12:21:19', '2012-12-07 12:21:19', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 12:21:19', '2012-12-07 12:21:19', 113629430) Fixture Delete (0.9ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 12:21:19', '2012-12-07 12:21:19') Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 12:21:19', '2012-12-07 12:21:19') Fixture Delete (0.6ms) DELETE FROM `things` Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 12:21:19', '2012-12-07 12:21:19') Fixture Insert (0.6ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 12:21:19', '2012-12-07 12:21:19')  (56.9ms) COMMIT  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 12:21:20', NULL, 'Foo', '2012-12-07 12:21:20')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/39 Completed 302 Found in 10ms (ActiveRecord: 1.9ms)  (0.7ms) SELECT COUNT(*) FROM `things`  (80.3ms) ROLLBACK  (7.1ms) BEGIN Thing Load (7.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 11ms (ActiveRecord: 3.3ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (51.7ms) ROLLBACK  (1.1ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.2ms) Completed 200 OK in 55ms (Views: 53.0ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.7ms) SELECT `things`.* FROM `things`  Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.7ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (5.5ms) Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 0.6ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 27ms (Views: 24.4ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 1.2ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (6.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 18ms (Views: 2.0ms | ActiveRecord: 7.3ms)  (3.9ms) ROLLBACK  (0.8ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (6.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (5.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 11ms (ActiveRecord: 7.3ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (2.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (1.5ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 12:23:19', '2012-12-07 12:23:19') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 12:23:19', '2012-12-07 12:23:19') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (2.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 12:23:19', '2012-12-07 12:23:19', 980190962) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 12:23:19', '2012-12-07 12:23:19', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 12:23:19', '2012-12-07 12:23:19', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 12:23:19', '2012-12-07 12:23:19') Fixture Insert (3.9ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 12:23:19', '2012-12-07 12:23:19') Fixture Delete (5.2ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 12:23:19', '2012-12-07 12:23:19') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 12:23:19', '2012-12-07 12:23:19')  (39.6ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 12:23:19', NULL, 'Foo', '2012-12-07 12:23:19')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/40 Completed 302 Found in 11ms (ActiveRecord: 2.1ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (48.4ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (3.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 10ms (ActiveRecord: 5.3ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (48.4ms) ROLLBACK  (1.2ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.8ms) Completed 500 Internal Server Error in 88ms  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.4ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 1.4ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 13ms  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (7.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 14ms  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (6.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.9ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (6.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 7.9ms)  (11.3ms) ROLLBACK  (3.7ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (6.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (5.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.0ms) SAVEPOINT active_record_1  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 15ms (ActiveRecord: 7.1ms)  (3.9ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (5.7ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 12:32:27', '2012-12-07 12:32:27') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 12:32:27', '2012-12-07 12:32:27') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 12:32:27', '2012-12-07 12:32:27', 980190962) Fixture Insert (3.1ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 12:32:27', '2012-12-07 12:32:27', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 12:32:27', '2012-12-07 12:32:27', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 12:32:27', '2012-12-07 12:32:27') Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 12:32:27', '2012-12-07 12:32:27') Fixture Delete (0.7ms) DELETE FROM `things` Fixture Insert (3.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 12:32:28', '2012-12-07 12:32:28') Fixture Insert (0.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 12:32:28', '2012-12-07 12:32:28')  (79.2ms) COMMIT  (2.1ms) SET FOREIGN_KEY_CHECKS = 1  (3.9ms) BEGIN Ominous::Warning Load (11.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.9ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 12:32:28', NULL, 'Foo', '2012-12-07 12:32:28')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/3 Completed 302 Found in 21ms (ActiveRecord: 2.6ms)  (1.0ms) SELECT COUNT(*) FROM `things`  (59.6ms) ROLLBACK  (2.3ms) BEGIN Thing Load (4.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (3.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM `things` WHERE `things`.`id` = 1  (1.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 4.2ms)  (1.3ms) SELECT COUNT(*) FROM `things`   (45.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.0ms) Completed 200 OK in 72ms (Views: 68.2ms | ActiveRecord: 0.8ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.9ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (2.9ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (5.1ms) Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.8ms)  (0.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 1.5ms)  (1.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (7.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (12.2ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (11.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 11.8ms)  (0.9ms) ROLLBACK  (6.2ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 14ms (ActiveRecord: 2.1ms)  (0.8ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (3.6ms) BEGIN Fixture Delete (1.3ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 12:32:45', '2012-12-07 12:32:45') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 12:32:45', '2012-12-07 12:32:45') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 12:32:45', '2012-12-07 12:32:45', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 12:32:45', '2012-12-07 12:32:45', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 12:32:45', '2012-12-07 12:32:45', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (1.0ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 12:32:45', '2012-12-07 12:32:45') Fixture Insert (5.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 12:32:45', '2012-12-07 12:32:45') Fixture Delete (1.9ms) DELETE FROM `things` Fixture Insert (4.7ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 12:32:45', '2012-12-07 12:32:45') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 12:32:45', '2012-12-07 12:32:45')  (53.4ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.1ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 12:32:45', NULL, 'Foo', '2012-12-07 12:32:45')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/4 Completed 302 Found in 10ms (ActiveRecord: 1.8ms)  (0.6ms) SELECT COUNT(*) FROM `things`  (37.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.6ms)  (0.6ms) SELECT COUNT(*) FROM `things`   (36.1ms) ROLLBACK  (1.5ms) BEGIN Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.6ms) Completed 500 Internal Server Error in 87ms  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.7ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.0ms) Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 9ms  (0.5ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 500 Internal Server Error in 7ms  (0.5ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.7ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 1.0ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 1.6ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (2.3ms) BEGIN Fixture Delete (1.5ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 12:33:06', '2012-12-07 12:33:06') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 12:33:06', '2012-12-07 12:33:06') Fixture Delete (3.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 12:33:06', '2012-12-07 12:33:06', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 12:33:06', '2012-12-07 12:33:06', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 12:33:06', '2012-12-07 12:33:06', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 12:33:06', '2012-12-07 12:33:06') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 12:33:06', '2012-12-07 12:33:06') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 12:33:06', '2012-12-07 12:33:06') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 12:33:06', '2012-12-07 12:33:06')  (58.8ms) COMMIT  (1.0ms) SET FOREIGN_KEY_CHECKS = 1  (2.1ms) BEGIN Ominous::Warning Load (2.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.7ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (9.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 12:33:06', NULL, 'Foo', '2012-12-07 12:33:06')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/5 Completed 302 Found in 17ms (ActiveRecord: 10.6ms)  (6.7ms) SELECT COUNT(*) FROM `things`  (35.1ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (7.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (4.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 5.8ms)  (3.6ms) SELECT COUNT(*) FROM `things`   (44.1ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.6ms) Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.4ms) Completed 200 OK in 65ms (Views: 61.7ms | ActiveRecord: 1.1ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.8ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.0ms) Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.7ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 2.1ms)  (0.8ms) ROLLBACK  (1.0ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 1.3ms)  (0.7ms) ROLLBACK  (1.0ms) BEGIN Thing Load (6.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (5.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 11ms (Views: 4.7ms | ActiveRecord: 5.3ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 1.9ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (1.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 2.4ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (4.7ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 12:33:48', '2012-12-07 12:33:48') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 12:33:48', '2012-12-07 12:33:48') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 12:33:48', '2012-12-07 12:33:48', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 12:33:48', '2012-12-07 12:33:48', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 12:33:48', '2012-12-07 12:33:48', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 12:33:48', '2012-12-07 12:33:48') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 12:33:48', '2012-12-07 12:33:48') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 12:33:48', '2012-12-07 12:33:48') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 12:33:48', '2012-12-07 12:33:48')  (83.1ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.3ms) BEGIN Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.4ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 12:33:49', NULL, 'Foo', '2012-12-07 12:33:49')  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/6 Completed 302 Found in 11ms (ActiveRecord: 1.8ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (67.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (5.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (6.1ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 15ms (ActiveRecord: 12.4ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (43.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (12.5ms) Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.2ms) Completed 200 OK in 70ms (Views: 68.1ms | ActiveRecord: 0.6ms)  (1.8ms) ROLLBACK  (0.9ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.2ms) SELECT `things`.* FROM `things`  Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 1.2ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 1.0ms)  (1.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 1.3ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (5.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 5.2ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 1.0ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 2.0ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (2.6ms) SET FOREIGN_KEY_CHECKS = 0  (5.2ms) BEGIN Fixture Delete (1.5ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 12:34:39', '2012-12-07 12:34:39') Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 12:34:39', '2012-12-07 12:34:39') Fixture Delete (1.0ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 12:34:39', '2012-12-07 12:34:39', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 12:34:39', '2012-12-07 12:34:39', 298486374) Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 12:34:39', '2012-12-07 12:34:39', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 12:34:39', '2012-12-07 12:34:39') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 12:34:39', '2012-12-07 12:34:39') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 12:34:39', '2012-12-07 12:34:39') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 12:34:39', '2012-12-07 12:34:39')  (78.5ms) COMMIT  (1.7ms) SET FOREIGN_KEY_CHECKS = 1  (2.7ms) BEGIN Ominous::Warning Load (4.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (3.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (2.1ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (3.9ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (2.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (1.8ms) ROLLBACK  (2.2ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (4.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (3.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (2.1ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (1.3ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 12:34:40', NULL, 'Foo', '2012-12-07 12:34:40')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/7 Completed 302 Found in 15ms (ActiveRecord: 3.5ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (53.6ms) ROLLBACK  (1.2ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 3.2ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (43.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (12.1ms) Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.4ms) Completed 200 OK in 72ms (Views: 69.1ms | ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.8ms) Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 0.7ms)  (0.8ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 1.4ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (5.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 10ms (Views: 2.5ms | ActiveRecord: 5.8ms)  (9.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (4.1ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 14ms (ActiveRecord: 5.5ms)  (1.7ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (1.0ms) SET FOREIGN_KEY_CHECKS = 0  (0.9ms) BEGIN Fixture Delete (1.8ms) DELETE FROM `ominous_warnings` Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 14:32:02', '2012-12-07 14:32:02') Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 14:32:02', '2012-12-07 14:32:02') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 14:32:02', '2012-12-07 14:32:02', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 14:32:02', '2012-12-07 14:32:02', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 14:32:02', '2012-12-07 14:32:02', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 14:32:02', '2012-12-07 14:32:02') Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 14:32:02', '2012-12-07 14:32:02') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 14:32:02', '2012-12-07 14:32:02') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 14:32:02', '2012-12-07 14:32:02')  (68.2ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (4.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (2.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1  (2.4ms) ROLLBACK  (3.9ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.8ms) ROLLBACK  (1.9ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (1.0ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (1.9ms) ROLLBACK  (0.9ms) BEGIN  (1.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 14:32:02', NULL, 'Foo', '2012-12-07 14:32:02')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/8 Completed 302 Found in 11ms (ActiveRecord: 2.0ms)  (1.0ms) SELECT COUNT(*) FROM `things`   (53.8ms) ROLLBACK  (3.4ms) BEGIN Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.1ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (3.1ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 12ms (ActiveRecord: 6.0ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (33.0ms) ROLLBACK  (2.0ms) BEGIN Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.5ms) Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (1.3ms) Completed 200 OK in 72ms (Views: 66.4ms | ActiveRecord: 3.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.8ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.5ms) Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 1.4ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.4ms) Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 3.3ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 1.4ms)  (0.7ms) ROLLBACK  (2.1ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (4.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 13ms (ActiveRecord: 5.3ms)  (2.8ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (8.0ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (2.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 14:32:47', '2012-12-07 14:32:47') Fixture Insert (1.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 14:32:47', '2012-12-07 14:32:47') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 14:32:47', '2012-12-07 14:32:47', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 14:32:47', '2012-12-07 14:32:47', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 14:32:47', '2012-12-07 14:32:47', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 14:32:47', '2012-12-07 14:32:47') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 14:32:47', '2012-12-07 14:32:47') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 14:32:47', '2012-12-07 14:32:47') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 14:32:47', '2012-12-07 14:32:47')  (55.9ms) COMMIT  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 LIMIT 1  (0.9ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (2.1ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (5.3ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 14:32:48', NULL, 'Foo', '2012-12-07 14:32:48')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/9 Completed 302 Found in 32ms (ActiveRecord: 2.0ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (34.2ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (1.0ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 3.1ms)  (0.7ms) SELECT COUNT(*) FROM `things`  (35.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.8ms) Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.8ms) Completed 200 OK in 72ms (Views: 68.9ms | ActiveRecord: 1.4ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 1.5ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (12.3ms) Completed 200 OK in 20ms (Views: 19.6ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (7.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.2ms) Completed 200 OK in 15ms (Views: 5.0ms | ActiveRecord: 8.4ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (1.0ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.2ms) Completed 200 OK in 9ms (Views: 4.1ms | ActiveRecord: 2.9ms)  (0.5ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (4.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 11ms (Views: 2.1ms | ActiveRecord: 6.1ms)  (10.2ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (4.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (3.1ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 12ms (ActiveRecord: 8.1ms)  (4.3ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (1.6ms) BEGIN Fixture Delete (1.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 14:34:05', '2012-12-07 14:34:05') Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 14:34:05', '2012-12-07 14:34:05') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (2.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 14:34:05', '2012-12-07 14:34:05', 980190962) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 14:34:05', '2012-12-07 14:34:05', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 14:34:05', '2012-12-07 14:34:05', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 14:34:05', '2012-12-07 14:34:05') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 14:34:05', '2012-12-07 14:34:05') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 14:34:05', '2012-12-07 14:34:05') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 14:34:05', '2012-12-07 14:34:05')  (72.2ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (1.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 14:34:06', NULL, 'Foo', '2012-12-07 14:34:06')  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/10 Completed 302 Found in 33ms (ActiveRecord: 2.6ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (70.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.5ms)  (0.7ms) SELECT COUNT(*) FROM `things`  (48.9ms) ROLLBACK  (1.6ms) BEGIN Thing Load (2.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.4ms) Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.9ms) Completed 200 OK in 66ms (Views: 61.6ms | ActiveRecord: 1.7ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.0ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 1.0ms)  (2.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.6ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 1.9ms)  (0.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.3ms) Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 2.2ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (6.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (5.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 11ms (Views: 2.2ms | ActiveRecord: 6.7ms)  (10.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.4ms) SAVEPOINT active_record_1  (6.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 12ms (ActiveRecord: 9.0ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (1.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (9.0ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (3.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 14:39:51', '2012-12-07 14:39:51') Fixture Insert (3.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 14:39:51', '2012-12-07 14:39:51') Fixture Delete (0.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 14:39:51', '2012-12-07 14:39:51', 980190962) Fixture Insert (1.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 14:39:51', '2012-12-07 14:39:51', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 14:39:51', '2012-12-07 14:39:51', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 14:39:51', '2012-12-07 14:39:51') Fixture Insert (1.1ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 14:39:51', '2012-12-07 14:39:51') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 14:39:51', '2012-12-07 14:39:51') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 14:39:51', '2012-12-07 14:39:51')  (80.9ms) COMMIT  (1.6ms) SET FOREIGN_KEY_CHECKS = 1  (2.9ms) BEGIN Ominous::Warning Load (3.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.7ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (7.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (1.9ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-07 14:39:51' WHERE `ominous_warning_closers`.`id` = 298486374  (1.0ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.4ms) RELEASE SAVEPOINT active_record_1  (43.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (6.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 14:39:51', NULL, 'Foo', '2012-12-07 14:39:51')  (1.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/11 Completed 302 Found in 10ms (ActiveRecord: 3.0ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (48.1ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.2ms)  (0.6ms) SELECT COUNT(*) FROM `things`  (43.7ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (7.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (15.8ms) Ominous::Warning Load (5.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.8ms) Completed 200 OK in 129ms (Views: 121.2ms | ActiveRecord: 6.3ms)  (6.9ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (9.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.4ms) SELECT `things`.* FROM `things`  Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 1.4ms)  (0.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.0ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (5.0ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.3ms) Completed 200 OK in 14ms (Views: 8.7ms | ActiveRecord: 4.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (3.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (7.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 11ms (Views: 3.0ms | ActiveRecord: 7.4ms)  (4.2ms) ROLLBACK  (0.4ms) BEGIN Thing Load (4.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (9.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.8ms) Completed 200 OK in 20ms (Views: 7.1ms | ActiveRecord: 11.2ms)  (6.0ms) ROLLBACK  (0.4ms) BEGIN Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 1.2ms)  (0.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (6.3ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 12ms (ActiveRecord: 7.5ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (1.9ms) SET FOREIGN_KEY_CHECKS = 0  (2.8ms) BEGIN Fixture Delete (2.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 14:40:16', '2012-12-07 14:40:16') Fixture Insert (1.1ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 14:40:16', '2012-12-07 14:40:16') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 14:40:16', '2012-12-07 14:40:16', 980190962) Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 14:40:16', '2012-12-07 14:40:16', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 14:40:16', '2012-12-07 14:40:16', 113629430) Fixture Delete (0.7ms) DELETE FROM `ominous_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 14:40:16', '2012-12-07 14:40:16') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 14:40:16', '2012-12-07 14:40:16') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (1.0ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 14:40:17', '2012-12-07 14:40:17') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 14:40:17', '2012-12-07 14:40:17')  (57.5ms) COMMIT  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Ominous::Warning Load (1.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.7ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (2.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.9ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (2.4ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (1.2ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-07 14:40:17' WHERE `ominous_warning_closers`.`id` = 298486374  (0.8ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (1.7ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (45.1ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.7ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (1.0ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (3.0ms) SAVEPOINT active_record_1 SQL (6.1ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 14:40:17', NULL, 'Foo', '2012-12-07 14:40:17')  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/12 Completed 302 Found in 17ms (ActiveRecord: 9.8ms)  (0.9ms) SELECT COUNT(*) FROM `things`   (45.7ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 12ms (ActiveRecord: 3.3ms)  (1.3ms) SELECT COUNT(*) FROM `things`  (46.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.7ms) Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.6ms) Completed 200 OK in 67ms (Views: 63.2ms | ActiveRecord: 2.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 11ms (Views: 5.7ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (6.5ms) Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.2ms) Completed 200 OK in 12ms (Views: 7.7ms | ActiveRecord: 1.9ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 1.0ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.3ms) Completed 200 OK in 10ms (Views: 4.1ms | ActiveRecord: 3.6ms)  (0.6ms) ROLLBACK  (0.8ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (2.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 11ms (Views: 2.8ms | ActiveRecord: 6.2ms)  (3.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (4.9ms) SAVEPOINT active_record_1  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 15ms (ActiveRecord: 6.4ms)  (2.0ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (6.6ms) SET FOREIGN_KEY_CHECKS = 0  (10.9ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-07 14:57:42', '2012-12-07 14:57:42') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-07 14:57:42', '2012-12-07 14:57:42') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-07 14:57:42', '2012-12-07 14:57:42', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-07 14:57:42', '2012-12-07 14:57:42', 298486374) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-07 14:57:42', '2012-12-07 14:57:42', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'warning_one', '2012-12-07 14:57:42', '2012-12-07 14:57:42') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `created_at`, `updated_at`) VALUES (2, 'warning_two', 'http://undervale.co.uk', '2012-12-07 14:57:42', '2012-12-07 14:57:42') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-07 14:57:42', '2012-12-07 14:57:42') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-07 14:57:42', '2012-12-07 14:57:42')  (59.5ms) COMMIT  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.9ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.8ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-07 14:57:43' WHERE `ominous_warning_closers`.`id` = 298486374  (0.7ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.5ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (31.9ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.7ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-07 14:57:43', NULL, 'Foo', '2012-12-07 14:57:43')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/13 Completed 302 Found in 11ms (ActiveRecord: 3.4ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (45.3ms) ROLLBACK  (2.1ms) BEGIN Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.0ms) SAVEPOINT active_record_1 SQL (1.3ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 10ms (ActiveRecord: 4.8ms)  (0.9ms) SELECT COUNT(*) FROM `things`  (48.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (3.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.6ms) Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.8ms) Completed 200 OK in 113ms (Views: 106.8ms | ActiveRecord: 4.5ms)  (0.7ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.7ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.7ms)  (2.1ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.2ms) Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 1.9ms)  (1.1ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.6ms)  (0.8ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (3.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 8.0ms | ActiveRecord: 4.8ms)  (5.0ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (7.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 1.1ms)  (8.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (5.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 11ms (Views: 2.1ms | ActiveRecord: 6.2ms)  (0.6ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (1.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 10ms (ActiveRecord: 2.9ms)  (0.8ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (1.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:05', '2012-12-10 08:32:05')  (49.8ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (1.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 113629430) Fixture Delete (0.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:05', '2012-12-10 08:32:05')  (35.6ms) ROLLBACK  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Fixture Insert (0.2ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Fixture Delete (0.2ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 980190962) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:05', '2012-12-10 08:32:05')  (34.5ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:05', '2012-12-10 08:32:05', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (2.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:05', '2012-12-10 08:32:05') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:05', '2012-12-10 08:32:05')  (44.5ms) ROLLBACK  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (1.6ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (1.1ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (4.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (3.0ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (49.7ms) ROLLBACK  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (1.1ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (5.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (78.8ms) ROLLBACK  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (2.0ms) DELETE FROM `ominous_closers` Fixture Insert (5.6ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (64.8ms) ROLLBACK  (1.4ms) SET FOREIGN_KEY_CHECKS = 1  (3.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.6ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (1.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (47.7ms) ROLLBACK  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (2.1ms) SELECT @@FOREIGN_KEY_CHECKS  (1.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (1.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (2.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (79.3ms) ROLLBACK  (1.0ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (4.9ms) SET FOREIGN_KEY_CHECKS = 0  (1.0ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (1.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (54.5ms) ROLLBACK  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (1.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (32.4ms) ROLLBACK  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (33.4ms) ROLLBACK  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (46.5ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:06', '2012-12-10 08:32:06', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (2.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:06', '2012-12-10 08:32:06')  (46.7ms) ROLLBACK  (2.3ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (2.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:07', '2012-12-10 08:32:07')  (40.5ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:07', '2012-12-10 08:32:07')  (47.9ms) ROLLBACK  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 980190962) Fixture Insert (6.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:32:07', '2012-12-10 08:32:07', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (1.1ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:07', '2012-12-10 08:32:07') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:32:07', '2012-12-10 08:32:07')  (46.8ms) ROLLBACK  (0.2ms) SET FOREIGN_KEY_CHECKS = 1 Connecting to database specified by database.yml  (2.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateOminousWarnings (20121206144249)  (0.9ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Mysql2::Error: Table 'ominous_warnings' already exists: CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:17', '2012-12-10 08:33:17') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:17', '2012-12-10 08:33:17') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:17', '2012-12-10 08:33:17', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:17', '2012-12-10 08:33:17', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:17', '2012-12-10 08:33:17', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:17', '2012-12-10 08:33:17') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:17', '2012-12-10 08:33:17')  (59.9ms) ROLLBACK  (0.9ms) SET FOREIGN_KEY_CHECKS = 1  (1.3ms) SELECT @@FOREIGN_KEY_CHECKS  (1.3ms) SET FOREIGN_KEY_CHECKS = 0  (5.4ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (1.2ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:17', '2012-12-10 08:33:17') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:17', '2012-12-10 08:33:17') Fixture Delete (4.8ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:17', '2012-12-10 08:33:17', 980190962) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:17', '2012-12-10 08:33:17', 298486374) Fixture Insert (0.7ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:17', '2012-12-10 08:33:17', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:17', '2012-12-10 08:33:17') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:17', '2012-12-10 08:33:17')  (44.1ms) ROLLBACK  (1.4ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SELECT @@FOREIGN_KEY_CHECKS  (1.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (44.6ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (2.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (1.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (1.0ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (44.6ms) ROLLBACK  (1.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (65.1ms) ROLLBACK  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SELECT @@FOREIGN_KEY_CHECKS  (5.0ms) SET FOREIGN_KEY_CHECKS = 0  (3.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (0.9ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (41.8ms) ROLLBACK  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (49.6ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (45.6ms) ROLLBACK  (5.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (0.8ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.2ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (1.2ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (40.4ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (1.6ms) SET FOREIGN_KEY_CHECKS = 0  (0.9ms) BEGIN Fixture Delete (4.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (82.5ms) ROLLBACK  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (5.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (2.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (34.2ms) ROLLBACK  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (1.8ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (0.4ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 980190962) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:18', '2012-12-10 08:33:18', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:18', '2012-12-10 08:33:18')  (58.7ms) ROLLBACK  (0.9ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (2.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 298486374) Fixture Insert (1.1ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19')  (56.1ms) ROLLBACK  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (1.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 980190962) Fixture Insert (3.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19')  (112.9ms) ROLLBACK  (1.1ms) SET FOREIGN_KEY_CHECKS = 1  (1.7ms) SELECT @@FOREIGN_KEY_CHECKS  (4.7ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19')  (63.6ms) ROLLBACK  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.5ms) BEGIN Fixture Delete (0.5ms) DELETE FROM `ominous_warnings` Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Insert (0.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19')  (45.2ms) ROLLBACK  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (1.7ms) SELECT @@FOREIGN_KEY_CHECKS  (1.0ms) SET FOREIGN_KEY_CHECKS = 0  (3.9ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 298486374) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:33:19', '2012-12-10 08:33:19', 113629430) Fixture Delete (0.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19') Mysql2::Error: Unknown column 'closure_method' in 'field list': INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:33:19', '2012-12-10 08:33:19')  (23.0ms) ROLLBACK  (0.3ms) SET FOREIGN_KEY_CHECKS = 1 Connecting to database specified by database.yml  (2.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`  Migrating to CreateOminousWarnings (20121206144249)  (0.8ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Mysql2::Error: Table 'ominous_warnings' already exists: CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB Connecting to database specified by database.yml  (37.7ms) DROP TABLE `ominous_closers`  (122.0ms) CREATE TABLE `ominous_closers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url` varchar(255), `closure_method` varchar(30), `start_hidden` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (53.0ms) DROP TABLE `ominous_warning_closers`  (107.6ms) CREATE TABLE `ominous_warning_closers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `warning_id` int(11), `closer_id` int(11), `position` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (46.9ms) DROP TABLE `ominous_warnings`  (133.2ms) CREATE TABLE `ominous_warnings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (36.5ms) DROP TABLE `things`  (125.2ms) CREATE TABLE `things` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `has_warning` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB  (9.5ms) SELECT version FROM `schema_migrations`  (34.7ms) INSERT INTO `schema_migrations` (version) VALUES ('20121206144249')  (42.2ms) INSERT INTO `schema_migrations` (version) VALUES ('20121206153254')  (58.9ms) INSERT INTO `schema_migrations` (version) VALUES ('20121206145743') Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (7.8ms) BEGIN Fixture Delete (0.3ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:34:45', '2012-12-10 08:34:45') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:34:45', '2012-12-10 08:34:45') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:34:45', '2012-12-10 08:34:45', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:34:45', '2012-12-10 08:34:45', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:34:45', '2012-12-10 08:34:45', 113629430) Fixture Delete (0.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:34:45', '2012-12-10 08:34:45') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:34:45', '2012-12-10 08:34:45') Fixture Delete (0.2ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:34:45', '2012-12-10 08:34:45') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:34:45', '2012-12-10 08:34:45')  (68.1ms) COMMIT  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (2.5ms) BEGIN Ominous::Warning Load (2.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (36.0ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (103.8ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:34:45' WHERE `ominous_warning_closers`.`id` = 298486374  (6.3ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (4.0ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (73.8ms) ROLLBACK  (1.1ms) BEGIN Ominous::Warning Load (1.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (9.4ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:34:46', NULL, 'Foo', '2012-12-10 08:34:46')  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/3 Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (89.2ms) ROLLBACK  (1.0ms) BEGIN Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (2.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 13ms (ActiveRecord: 2.0ms)  (4.2ms) SELECT COUNT(*) FROM `things`  (45.2ms) ROLLBACK  (0.2ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (168.4ms) Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (13.9ms) Completed 200 OK in 439ms (Views: 434.3ms | ActiveRecord: 3.1ms)  (1.8ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things` Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (2.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.3ms) Completed 200 OK in 13ms (Views: 7.9ms | ActiveRecord: 3.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.5ms)  (2.9ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.5ms) Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 10ms (Views: 5.2ms | ActiveRecord: 1.7ms)  (6.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 11ms (Views: 4.8ms | ActiveRecord: 2.8ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:47:38', '2012-12-10 08:47:38') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:47:38', '2012-12-10 08:47:38') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:47:38', '2012-12-10 08:47:38', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:47:38', '2012-12-10 08:47:38', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:47:38', '2012-12-10 08:47:38', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:47:38', '2012-12-10 08:47:38') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:47:38', '2012-12-10 08:47:38') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:47:38', '2012-12-10 08:47:38') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:47:38', '2012-12-10 08:47:38')  (75.7ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (2.3ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:47:38' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.2ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (39.1ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.1ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (4.3ms) ROLLBACK  (1.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:47:38', NULL, 'Foo', '2012-12-10 08:47:38')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/4 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (2.4ms) SELECT COUNT(*) FROM `things`   (40.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (40.9ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.6ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.7ms) Completed 200 OK in 77ms (Views: 73.2ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.2ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.8ms) Completed 200 OK in 14ms (Views: 8.2ms | ActiveRecord: 1.5ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (1.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (2.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.2ms) Completed 200 OK in 11ms (Views: 5.7ms | ActiveRecord: 3.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (4.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 12ms (Views: 4.3ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (5.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (2.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 11ms (Views: 6.1ms | ActiveRecord: 3.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (5.4ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:49:24', '2012-12-10 08:49:24') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:49:24', '2012-12-10 08:49:24') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:49:24', '2012-12-10 08:49:24', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:49:24', '2012-12-10 08:49:24', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:49:24', '2012-12-10 08:49:24', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:49:24', '2012-12-10 08:49:24') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:49:24', '2012-12-10 08:49:24') Fixture Delete (0.2ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:49:24', '2012-12-10 08:49:24') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:49:24', '2012-12-10 08:49:24')  (59.8ms) COMMIT  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Ominous::Warning Load (1.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.7ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:49:24' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (38.1ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (1.0ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:49:25', NULL, 'Foo', '2012-12-10 08:49:25')  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/5 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (43.8ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (46.0ms) ROLLBACK  (1.0ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.5ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.9ms) Completed 200 OK in 73ms (Views: 69.0ms | ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.7ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (3.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 1.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 1.8ms)  (11.9ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (2.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 2.4ms)  (4.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (1.5ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:50:07', '2012-12-10 08:50:07') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:50:07', '2012-12-10 08:50:07') Fixture Delete (0.6ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:50:07', '2012-12-10 08:50:07', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:50:07', '2012-12-10 08:50:07', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:50:07', '2012-12-10 08:50:07', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:50:07', '2012-12-10 08:50:07') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:50:07', '2012-12-10 08:50:07') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:50:07', '2012-12-10 08:50:07') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:50:07', '2012-12-10 08:50:07')  (67.7ms) COMMIT  (1.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:50:08' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (34.4ms) ROLLBACK  (0.7ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:50:08', NULL, 'Foo', '2012-12-10 08:50:08')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/6 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (48.5ms) ROLLBACK  (1.1ms) BEGIN Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 2.0ms)  (0.6ms) SELECT COUNT(*) FROM `things`  (47.3ms) ROLLBACK  (1.1ms) BEGIN Thing Load (9.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.8ms) Completed 200 OK in 73ms (Views: 67.7ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things` Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.4ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 1.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 3.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:51:58', '2012-12-10 08:51:58') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:51:58', '2012-12-10 08:51:58') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:51:58', '2012-12-10 08:51:58', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:51:58', '2012-12-10 08:51:58', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:51:58', '2012-12-10 08:51:58', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:51:58', '2012-12-10 08:51:58') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:51:58', '2012-12-10 08:51:58') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:51:58', '2012-12-10 08:51:58') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:51:58', '2012-12-10 08:51:58')  (49.0ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:51:58' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (43.2ms) ROLLBACK  (2.5ms) BEGIN Ominous::Warning Load (4.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.9ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:51:58', NULL, 'Foo', '2012-12-10 08:51:58')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/7 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.6ms) SELECT COUNT(*) FROM `things`   (41.5ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (4.7ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:52:13', '2012-12-10 08:52:13') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:52:13', '2012-12-10 08:52:13') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:52:13', '2012-12-10 08:52:13', 980190962) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:52:13', '2012-12-10 08:52:13', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:52:13', '2012-12-10 08:52:13', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:52:13', '2012-12-10 08:52:13') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:52:13', '2012-12-10 08:52:13') Fixture Delete (0.2ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:52:13', '2012-12-10 08:52:13') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:52:13', '2012-12-10 08:52:13')  (50.8ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:52:13' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (36.6ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.6ms) ROLLBACK  (2.2ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (5.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.4ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:52:13', NULL, 'Foo', '2012-12-10 08:52:13')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/8 Completed 302 Found in 9ms (ActiveRecord: 1.3ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (36.5ms) ROLLBACK  (0.4ms) BEGIN Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (10.1ms) Completed 200 OK in 78ms (Views: 72.7ms | ActiveRecord: 2.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.3ms) Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (1.2ms) SET FOREIGN_KEY_CHECKS = 0  (2.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:52:30', '2012-12-10 08:52:30') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:52:30', '2012-12-10 08:52:30') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:52:30', '2012-12-10 08:52:30', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:52:30', '2012-12-10 08:52:30', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:52:30', '2012-12-10 08:52:30', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:52:30', '2012-12-10 08:52:30') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:52:30', '2012-12-10 08:52:30') Fixture Delete (0.2ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:52:30', '2012-12-10 08:52:30') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:52:30', '2012-12-10 08:52:30')  (65.8ms) COMMIT  (4.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.5ms) BEGIN Ominous::Warning Load (3.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:52:30' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (36.9ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:52:30', NULL, 'Foo', '2012-12-10 08:52:30')  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/9 Completed 302 Found in 11ms (ActiveRecord: 1.2ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (46.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 5ms (ActiveRecord: 1.6ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (42.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things` Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (10.4ms) Completed 200 OK in 67ms (Views: 64.2ms | ActiveRecord: 1.9ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (6.8ms) Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (1.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:52:45', '2012-12-10 08:52:45') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:52:45', '2012-12-10 08:52:45') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:52:46', '2012-12-10 08:52:46', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:52:46', '2012-12-10 08:52:46', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:52:46', '2012-12-10 08:52:46', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:52:46', '2012-12-10 08:52:46') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:52:46', '2012-12-10 08:52:46') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:52:46', '2012-12-10 08:52:46') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:52:46', '2012-12-10 08:52:46')  (54.1ms) COMMIT  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:52:46' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (29.8ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (2.5ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:52:46', NULL, 'Foo', '2012-12-10 08:52:46')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/10 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (32.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 5ms (ActiveRecord: 1.5ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (32.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.5ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.5ms) Completed 200 OK in 70ms (Views: 66.7ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things` Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.5ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:53:04', '2012-12-10 08:53:04') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:53:04', '2012-12-10 08:53:04') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:53:04', '2012-12-10 08:53:04', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:53:04', '2012-12-10 08:53:04', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:53:04', '2012-12-10 08:53:04', 113629430) Fixture Delete (0.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:53:04', '2012-12-10 08:53:04') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:53:04', '2012-12-10 08:53:04') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:53:04', '2012-12-10 08:53:04') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:53:04', '2012-12-10 08:53:04')  (43.4ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:53:04' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (33.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:53:04', NULL, 'Foo', '2012-12-10 08:53:04')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/11 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (47.6ms) ROLLBACK  (1.1ms) BEGIN Thing Load (6.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (12.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.2ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (2.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 14ms (ActiveRecord: 4.5ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (46.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.5ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (6.3ms) Completed 200 OK in 71ms (Views: 67.6ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.4ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (8.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (3.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 3.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (4.7ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:53:29', '2012-12-10 08:53:29') Fixture Insert (1.3ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:53:29', '2012-12-10 08:53:29') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:53:29', '2012-12-10 08:53:29', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:53:29', '2012-12-10 08:53:29', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:53:29', '2012-12-10 08:53:29', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:53:29', '2012-12-10 08:53:29') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:53:29', '2012-12-10 08:53:29') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:53:29', '2012-12-10 08:53:29') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:53:29', '2012-12-10 08:53:29')  (79.7ms) COMMIT  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (3.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (6.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (4.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:53:30' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (33.6ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (3.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (5.7ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (2.7ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:53:30', NULL, 'Foo', '2012-12-10 08:53:30')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/12 Completed 302 Found in 12ms (ActiveRecord: 1.1ms)  (0.6ms) SELECT COUNT(*) FROM `things`   (33.5ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (6.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 11ms (ActiveRecord: 7.6ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (40.7ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (6.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (21.6ms) Ominous::Warning Load (5.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (12.8ms) Completed 200 OK in 140ms (Views: 132.0ms | ActiveRecord: 6.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (5.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 20ms (Views: 13.0ms | ActiveRecord: 5.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (11.0ms) Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.5ms) Completed 200 OK in 20ms (Views: 16.0ms | ActiveRecord: 2.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (6.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 14ms (Views: 5.3ms | ActiveRecord: 6.7ms)  (11.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (3.8ms) SAVEPOINT active_record_1  (4.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 14ms (ActiveRecord: 10.2ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:53:52', '2012-12-10 08:53:52') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:53:52', '2012-12-10 08:53:52') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:53:53', '2012-12-10 08:53:53', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:53:53', '2012-12-10 08:53:53', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:53:53', '2012-12-10 08:53:53', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:53:53', '2012-12-10 08:53:53') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:53:53', '2012-12-10 08:53:53') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:53:53', '2012-12-10 08:53:53') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:53:53', '2012-12-10 08:53:53')  (57.2ms) COMMIT  (0.9ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:53:53' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (47.6ms) ROLLBACK  (1.1ms) BEGIN Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.2ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (2.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:53:53', NULL, 'Foo', '2012-12-10 08:53:53')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/13 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (55.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 6ms (ActiveRecord: 1.6ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (46.3ms) ROLLBACK  (1.1ms) BEGIN Thing Load (10.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.4ms) Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.5ms) Completed 200 OK in 90ms (Views: 79.7ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.9ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (7.0ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:54:14', '2012-12-10 08:54:14') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:54:14', '2012-12-10 08:54:14') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (2.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:54:14', '2012-12-10 08:54:14', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:54:14', '2012-12-10 08:54:14', 298486374) Fixture Insert (4.1ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:54:14', '2012-12-10 08:54:14', 113629430) Fixture Delete (2.3ms) DELETE FROM `ominous_closers` Fixture Insert (4.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:54:14', '2012-12-10 08:54:14') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:54:14', '2012-12-10 08:54:14') Fixture Delete (4.8ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:54:14', '2012-12-10 08:54:14') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:54:14', '2012-12-10 08:54:14')  (32.0ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Ominous::Warning Load (4.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (8.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (4.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (4.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (5.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (7.7ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:54:14' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (4.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (45.0ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (5.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (4.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (4.0ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:54:14', NULL, 'Foo', '2012-12-10 08:54:14')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/14 Completed 302 Found in 11ms (ActiveRecord: 5.7ms)  (9.3ms) SELECT COUNT(*) FROM `things`   (40.7ms) ROLLBACK  (0.6ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (2.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (53.9ms) ROLLBACK  (0.8ms) BEGIN Thing Load (7.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (7.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.6ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.8ms) Completed 200 OK in 108ms (Views: 97.7ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (11.0ms) Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.9ms) Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (5.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.9ms)  (6.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (3.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 4.2ms)  (3.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (1.8ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (1.8ms) SET FOREIGN_KEY_CHECKS = 0  (5.1ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (7.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:54:35', '2012-12-10 08:54:35') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:54:35', '2012-12-10 08:54:35') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:54:35', '2012-12-10 08:54:35', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:54:35', '2012-12-10 08:54:35', 298486374) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:54:35', '2012-12-10 08:54:35', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (3.7ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:54:35', '2012-12-10 08:54:35') Fixture Insert (7.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:54:35', '2012-12-10 08:54:35') Fixture Delete (6.2ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:54:35', '2012-12-10 08:54:35') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:54:35', '2012-12-10 08:54:35')  (51.1ms) COMMIT  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (3.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (4.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (7.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (2.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (3.5ms) SAVEPOINT active_record_1 SQL (7.0ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:54:36' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (1.0ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (5.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (80.4ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (10.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (4.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:54:36', NULL, 'Foo', '2012-12-10 08:54:36')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/15 Completed 302 Found in 18ms (ActiveRecord: 3.6ms)  (0.6ms) SELECT COUNT(*) FROM `things`   (77.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 1.4ms)  (7.3ms) SELECT COUNT(*) FROM `things`  (46.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (7.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (23.6ms) Ominous::Warning Load (8.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (5.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (9.7ms) Completed 200 OK in 142ms (Views: 118.7ms | ActiveRecord: 21.3ms)  (9.8ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (5.0ms) SELECT `things`.* FROM `things` Completed 200 OK in 20ms (Views: 13.2ms | ActiveRecord: 5.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (11.7ms) Completed 200 OK in 34ms (Views: 25.7ms | ActiveRecord: 0.0ms)  (3.6ms) ROLLBACK  (1.0ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (5.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (6.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 26ms (Views: 9.3ms | ActiveRecord: 6.9ms)  (1.8ms) ROLLBACK  (1.8ms) BEGIN Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (8.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 12ms (Views: 2.2ms | ActiveRecord: 8.7ms)  (4.3ms) ROLLBACK  (1.6ms) BEGIN Thing Load (4.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (9.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (2.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 18ms (Views: 2.2ms | ActiveRecord: 12.0ms)  (12.6ms) ROLLBACK  (0.2ms) BEGIN Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (6.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (4.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 15ms (ActiveRecord: 11.5ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (3.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:54:57', '2012-12-10 08:54:57') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:54:57', '2012-12-10 08:54:57') Fixture Delete (0.7ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:54:57', '2012-12-10 08:54:57', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:54:57', '2012-12-10 08:54:57', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:54:57', '2012-12-10 08:54:57', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:54:57', '2012-12-10 08:54:57') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:54:57', '2012-12-10 08:54:57') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:54:57', '2012-12-10 08:54:57') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:54:57', '2012-12-10 08:54:57')  (70.7ms) COMMIT  (6.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Ominous::Warning Load (5.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.4ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:54:58' WHERE `ominous_warning_closers`.`id` = 298486374  (2.6ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (49.4ms) ROLLBACK  (0.8ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (2.3ms) ROLLBACK  (0.8ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (9.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (3.9ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (1.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:54:58', NULL, 'Foo', '2012-12-10 08:54:58')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/16 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (42.0ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 2.2ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (40.6ms) ROLLBACK  (0.9ms) BEGIN Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (4.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.9ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.6ms) Completed 200 OK in 85ms (Views: 77.5ms | ActiveRecord: 5.6ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.7ms) SELECT `things`.* FROM `things` Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.3ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.2ms) Completed 200 OK in 14ms (Views: 11.1ms | ActiveRecord: 1.4ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (4.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 4.6ms)  (1.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:56:31', '2012-12-10 08:56:31') Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:56:31', '2012-12-10 08:56:31') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:56:31', '2012-12-10 08:56:31', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:56:31', '2012-12-10 08:56:31', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:56:31', '2012-12-10 08:56:31', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:56:31', '2012-12-10 08:56:31') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:56:31', '2012-12-10 08:56:31') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:56:31', '2012-12-10 08:56:31') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:56:31', '2012-12-10 08:56:31')  (60.3ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:56:31' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.2ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (40.7ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (6.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (4.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:56:32', NULL, 'Foo', '2012-12-10 08:56:32')  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/17 Completed 302 Found in 16ms (ActiveRecord: 5.2ms)  (4.3ms) SELECT COUNT(*) FROM `things`   (43.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (7.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (4.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 5.4ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (41.2ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (5.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (17.1ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (5.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (9.6ms) Completed 200 OK in 137ms (Views: 123.7ms | ActiveRecord: 11.9ms)  (5.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (5.2ms) SELECT `things`.* FROM `things` Completed 200 OK in 14ms (Views: 7.8ms | ActiveRecord: 5.2ms)  (7.8ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (10.1ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (7.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (8.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (7.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (10.7ms) Completed 200 OK in 27ms (Views: 8.7ms | ActiveRecord: 17.2ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (3.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 13ms (Views: 9.0ms | ActiveRecord: 3.5ms)  (5.7ms) ROLLBACK  (1.1ms) BEGIN Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (3.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (2.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 16ms (Views: 7.5ms | ActiveRecord: 5.9ms)  (2.7ms) ROLLBACK  (1.0ms) BEGIN Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (6.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.7ms) SAVEPOINT active_record_1  (1.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 11ms (ActiveRecord: 8.1ms)  (2.1ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 08:56:51', '2012-12-10 08:56:51') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 08:56:51', '2012-12-10 08:56:51') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (2.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 08:56:51', '2012-12-10 08:56:51', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 08:56:51', '2012-12-10 08:56:51', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 08:56:51', '2012-12-10 08:56:51', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 08:56:51', '2012-12-10 08:56:51') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 08:56:51', '2012-12-10 08:56:51') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 08:56:51', '2012-12-10 08:56:51') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 08:56:51', '2012-12-10 08:56:51')  (62.9ms) COMMIT  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (4.1ms) BEGIN Ominous::Warning Load (3.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 08:56:52' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (1.5ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (50.7ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 08:56:52', NULL, 'Foo', '2012-12-10 08:56:52')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/18 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (42.0ms) ROLLBACK  (0.7ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 12ms (ActiveRecord: 2.5ms)  (0.8ms) SELECT COUNT(*) FROM `things`  (43.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.8ms) Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.6ms) Completed 200 OK in 69ms (Views: 66.1ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.5ms)  (1.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (5.9ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.3ms) Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.1ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (4.6ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:17:30', '2012-12-10 11:17:30') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:17:30', '2012-12-10 11:17:30') Fixture Delete (1.9ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:17:30', '2012-12-10 11:17:30', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:17:30', '2012-12-10 11:17:30', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:17:30', '2012-12-10 11:17:30', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:17:30', '2012-12-10 11:17:30') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:17:30', '2012-12-10 11:17:30') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:17:30', '2012-12-10 11:17:30') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:17:30', '2012-12-10 11:17:30')  (57.2ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:17:30' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (33.4ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (7.9ms) ROLLBACK  (4.5ms) BEGIN Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:17:30', NULL, 'Foo', '2012-12-10 11:17:30')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/19 Completed 302 Found in 9ms (ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (37.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 5ms (ActiveRecord: 1.5ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (40.9ms) ROLLBACK  (1.3ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.9ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.2ms) Completed 200 OK in 77ms (Views: 73.3ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.1ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.9ms) Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (21.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (25.8ms) Completed 200 OK in 33ms (Views: 8.6ms | ActiveRecord: 22.8ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:17:44', '2012-12-10 11:17:44') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:17:44', '2012-12-10 11:17:44') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:17:45', '2012-12-10 11:17:45', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:17:45', '2012-12-10 11:17:45', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:17:45', '2012-12-10 11:17:45', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:17:45', '2012-12-10 11:17:45') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:17:45', '2012-12-10 11:17:45') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:17:45', '2012-12-10 11:17:45') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:17:45', '2012-12-10 11:17:45')  (60.2ms) COMMIT  (1.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Ominous::Warning Load (2.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (1.7ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:17:45' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (45.8ms) ROLLBACK  (0.8ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.7ms) ROLLBACK  (0.9ms) BEGIN Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (2.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:17:45', NULL, 'Foo', '2012-12-10 11:17:45')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/20 Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (43.8ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (57.1ms) ROLLBACK  (1.6ms) BEGIN Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.9ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (6.5ms) Completed 200 OK in 69ms (Views: 64.7ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.9ms) Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.8ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.7ms) Completed 200 OK in 12ms (Views: 7.8ms | ActiveRecord: 2.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.9ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (4.5ms) BEGIN Fixture Delete (1.1ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:18:06', '2012-12-10 11:18:06') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:18:06', '2012-12-10 11:18:06') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:18:06', '2012-12-10 11:18:06', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:18:06', '2012-12-10 11:18:06', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:18:06', '2012-12-10 11:18:06', 113629430) Fixture Delete (0.6ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:18:06', '2012-12-10 11:18:06') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:18:06', '2012-12-10 11:18:06') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:18:06', '2012-12-10 11:18:06') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:18:06', '2012-12-10 11:18:06')  (43.8ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:18:07' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (47.5ms) ROLLBACK  (4.7ms) BEGIN Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.0ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.7ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:18:07', NULL, 'Foo', '2012-12-10 11:18:07')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/21 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (48.7ms) ROLLBACK  (1.2ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.5ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 7ms (ActiveRecord: 1.9ms)  (0.6ms) SELECT COUNT(*) FROM `things`   (42.2ms) ROLLBACK  (1.2ms) BEGIN Thing Load (6.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.7ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.1ms) Completed 200 OK in 81ms (Views: 72.5ms | ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.1ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.8ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.8ms) Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 1.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (4.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:22:19', '2012-12-10 11:22:19') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:22:19', '2012-12-10 11:22:19') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:22:19', '2012-12-10 11:22:19', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:22:19', '2012-12-10 11:22:19', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:22:19', '2012-12-10 11:22:19', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:22:19', '2012-12-10 11:22:19') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:22:19', '2012-12-10 11:22:19') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:22:19', '2012-12-10 11:22:19') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:22:19', '2012-12-10 11:22:19')  (45.1ms) COMMIT  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.7ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:22:19' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (42.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:22:19', NULL, 'Foo', '2012-12-10 11:22:19')  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/22 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (41.5ms) ROLLBACK  (4.0ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 11ms (ActiveRecord: 3.8ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (47.0ms) ROLLBACK  (0.9ms) BEGIN Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.9ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.4ms) Completed 200 OK in 79ms (Views: 74.0ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.7ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.0ms) Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.9ms) Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 1.6ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 10ms (Views: 1.9ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.0ms) SAVEPOINT active_record_1  (1.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 9ms (ActiveRecord: 3.2ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:23:25', '2012-12-10 11:23:25') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:23:25', '2012-12-10 11:23:25') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:23:26', '2012-12-10 11:23:26', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:23:26', '2012-12-10 11:23:26', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:23:26', '2012-12-10 11:23:26', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:23:26', '2012-12-10 11:23:26') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:23:26', '2012-12-10 11:23:26') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:23:26', '2012-12-10 11:23:26') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:23:26', '2012-12-10 11:23:26')  (45.2ms) COMMIT  (1.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Ominous::Warning Load (2.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (2.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:23:26' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (45.3ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.2ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.7ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:23:26', NULL, 'Foo', '2012-12-10 11:23:26')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/23 Completed 302 Found in 10ms (ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (45.7ms) ROLLBACK  (0.8ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.1ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (44.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.7ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (2.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (6.2ms) Completed 200 OK in 70ms (Views: 65.2ms | ActiveRecord: 3.3ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.8ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.3ms) Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 1.2ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.5ms) Completed 200 OK in 12ms (Views: 7.4ms | ActiveRecord: 1.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (2.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 3.3ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:24:37', '2012-12-10 11:24:37') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:24:37', '2012-12-10 11:24:37') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:24:37', '2012-12-10 11:24:37', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:24:37', '2012-12-10 11:24:37', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:24:37', '2012-12-10 11:24:37', 113629430) Fixture Delete (0.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:24:37', '2012-12-10 11:24:37') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:24:37', '2012-12-10 11:24:37') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:24:37', '2012-12-10 11:24:37') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:24:37', '2012-12-10 11:24:37')  (63.1ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (2.1ms) BEGIN Ominous::Warning Load (1.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (2.3ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.7ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:24:38' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (2.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (46.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (1.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.6ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:24:38', NULL, 'Foo', '2012-12-10 11:24:38')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/24 Completed 302 Found in 11ms (ActiveRecord: 1.4ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (48.0ms) ROLLBACK  (1.2ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (2.3ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.4ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 10ms (ActiveRecord: 3.2ms)  (0.8ms) SELECT COUNT(*) FROM `things`   (48.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.4ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (6.2ms) Completed 200 OK in 75ms (Views: 71.0ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.9ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (6.2ms) Completed 200 OK in 18ms (Views: 13.5ms | ActiveRecord: 3.3ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.0ms) Completed 200 OK in 13ms (Views: 9.8ms | ActiveRecord: 1.7ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (5.2ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:28:39', '2012-12-10 11:28:39') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:28:39', '2012-12-10 11:28:39') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:28:39', '2012-12-10 11:28:39', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:28:39', '2012-12-10 11:28:39', 298486374) Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:28:39', '2012-12-10 11:28:39', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:28:39', '2012-12-10 11:28:39') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:28:39', '2012-12-10 11:28:39') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:28:39', '2012-12-10 11:28:39') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:28:39', '2012-12-10 11:28:39')  (82.6ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.7ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:28:40' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (36.4ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:28:40', NULL, 'Foo', '2012-12-10 11:28:40')  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/25 Completed 302 Found in 9ms (ActiveRecord: 1.6ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (48.7ms) ROLLBACK  (1.0ms) BEGIN Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (2.3ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 19ms (ActiveRecord: 5.4ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (39.7ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.4ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.6ms) Completed 200 OK in 71ms (Views: 67.9ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (2.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.2ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.7ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.0ms) Completed 200 OK in 11ms (Views: 6.0ms | ActiveRecord: 2.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 1.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:31:32', '2012-12-10 11:31:32') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:31:32', '2012-12-10 11:31:32') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:31:32', '2012-12-10 11:31:32', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:31:32', '2012-12-10 11:31:32', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:31:32', '2012-12-10 11:31:32', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:31:32', '2012-12-10 11:31:32') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:31:32', '2012-12-10 11:31:32') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:31:32', '2012-12-10 11:31:32') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:31:32', '2012-12-10 11:31:32')  (27.7ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:31:32' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (42.6ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (2.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:31:32', NULL, 'Foo', '2012-12-10 11:31:32')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/26 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (49.4ms) ROLLBACK  (1.0ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 13ms (ActiveRecord: 2.6ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (45.7ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (13.0ms) Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.9ms) Completed 200 OK in 85ms (Views: 79.4ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.4ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.7ms) Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 2.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 1.7ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 2.8ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (2.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 3.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (4.1ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:32:05', '2012-12-10 11:32:05') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:32:05', '2012-12-10 11:32:05') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:32:05', '2012-12-10 11:32:05', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:32:05', '2012-12-10 11:32:05', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:32:05', '2012-12-10 11:32:05', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:32:05', '2012-12-10 11:32:05') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:32:05', '2012-12-10 11:32:05') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:32:05', '2012-12-10 11:32:05') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:32:05', '2012-12-10 11:32:05')  (63.0ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (2.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:32:05' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (30.8ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:32:05', NULL, 'Foo', '2012-12-10 11:32:05')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/27 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (47.8ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 6ms (ActiveRecord: 1.5ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (49.2ms) ROLLBACK  (1.0ms) BEGIN Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.1ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.5ms) Completed 200 OK in 75ms (Views: 72.1ms | ActiveRecord: 1.7ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.8ms) Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (6.1ms) Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 2.8ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.0ms) Completed 200 OK in 12ms (Views: 7.1ms | ActiveRecord: 2.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (4.8ms) SET FOREIGN_KEY_CHECKS = 0  (3.4ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:33:05', '2012-12-10 11:33:05') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:33:05', '2012-12-10 11:33:05') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:33:05', '2012-12-10 11:33:05', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:33:05', '2012-12-10 11:33:05', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:33:05', '2012-12-10 11:33:05', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:33:05', '2012-12-10 11:33:05') Fixture Insert (1.1ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:33:05', '2012-12-10 11:33:05') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:33:05', '2012-12-10 11:33:05') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:33:05', '2012-12-10 11:33:05')  (47.9ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:33:05' WHERE `ominous_warning_closers`.`id` = 298486374  (2.0ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (32.1ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.7ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:33:05', NULL, 'Foo', '2012-12-10 11:33:05')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/28 Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.6ms) SELECT COUNT(*) FROM `things`  (44.5ms) ROLLBACK  (0.8ms) BEGIN Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.2ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (1.3ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 9ms (ActiveRecord: 3.0ms)  (0.7ms) SELECT COUNT(*) FROM `things`   (45.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (4.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.6ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.5ms) Completed 200 OK in 77ms (Views: 66.3ms | ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.8ms) SELECT `things`.* FROM `things`  Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.1ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.1ms) Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (1.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.7ms) Completed 200 OK in 11ms (Views: 5.8ms | ActiveRecord: 3.2ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 2.1ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (3.8ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:41:05', '2012-12-10 11:41:05') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:41:05', '2012-12-10 11:41:05') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:41:05', '2012-12-10 11:41:05', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:41:05', '2012-12-10 11:41:05', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:41:05', '2012-12-10 11:41:05', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:41:05', '2012-12-10 11:41:05') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:41:05', '2012-12-10 11:41:05') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:41:05', '2012-12-10 11:41:05') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:41:05', '2012-12-10 11:41:05')  (47.6ms) COMMIT  (0.9ms) SET FOREIGN_KEY_CHECKS = 1  (3.3ms) BEGIN Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (2.7ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:41:05' WHERE `ominous_warning_closers`.`id` = 298486374  (0.6ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (37.8ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 12.0ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:41:05', NULL, 'Foo', '2012-12-10 11:41:05')  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/29 Completed 302 Found in 12ms (ActiveRecord: 1.3ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (19.6ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 29ms (ActiveRecord: 1.6ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (92.8ms) ROLLBACK  (1.0ms) BEGIN Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (4.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.8ms) Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.7ms) Completed 200 OK in 37ms (Views: 29.7ms | ActiveRecord: 2.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.6ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.7ms) Completed 200 OK in 13ms (Views: 8.9ms | ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.9ms) Completed 200 OK in 16ms (Views: 9.0ms | ActiveRecord: 2.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (1.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (2.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:42:08', '2012-12-10 11:42:08') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:42:08', '2012-12-10 11:42:08') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:42:09', '2012-12-10 11:42:09', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:42:09', '2012-12-10 11:42:09', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:42:09', '2012-12-10 11:42:09', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:42:09', '2012-12-10 11:42:09') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:42:09', '2012-12-10 11:42:09') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:42:09', '2012-12-10 11:42:09') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:42:09', '2012-12-10 11:42:09')  (54.4ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (7.4ms) SAVEPOINT active_record_1 SQL (2.2ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (2.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:42:09' WHERE `ominous_warning_closers`.`id` = 298486374  (1.1ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.4ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (33.9ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.2ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Rendered text template (0.0ms) Completed 200 OK in 19ms (Views: 19.0ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (5.4ms) BEGIN  (2.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:42:09', NULL, 'Foo', '2012-12-10 11:42:09')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/30 Completed 302 Found in 9ms (ActiveRecord: 1.7ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (42.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 30ms (ActiveRecord: 1.7ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (43.3ms) ROLLBACK  (0.7ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (3.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.2ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.4ms) Completed 200 OK in 40ms (Views: 35.2ms | ActiveRecord: 2.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.4ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.5ms) Completed 200 OK in 22ms (Views: 18.1ms | ActiveRecord: 2.1ms)  (0.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (7.4ms) Completed 200 OK in 17ms (Views: 11.9ms | ActiveRecord: 2.6ms)  (3.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (2.5ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (4.5ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 13ms (ActiveRecord: 5.9ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.9ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:42:42', '2012-12-10 11:42:42') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:42:42', '2012-12-10 11:42:42') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:42:42', '2012-12-10 11:42:42', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:42:42', '2012-12-10 11:42:42', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:42:42', '2012-12-10 11:42:42', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:42:42', '2012-12-10 11:42:42') Fixture Insert (0.2ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:42:42', '2012-12-10 11:42:42') Fixture Delete (0.2ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:42:42', '2012-12-10 11:42:42') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:42:42', '2012-12-10 11:42:42')  (62.3ms) COMMIT  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:42:42' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.2ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (44.8ms) ROLLBACK  (1.2ms) BEGIN Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.5ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.7ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Rendered text template (0.0ms) Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.6ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:42:43', NULL, 'Foo', '2012-12-10 11:42:43')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/31 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (44.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 29ms (ActiveRecord: 1.6ms)  (2.0ms) SELECT COUNT(*) FROM `things`   (38.9ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.9ms) Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (2.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.8ms) Completed 200 OK in 32ms (Views: 27.3ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.3ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (5.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.0ms) Completed 200 OK in 18ms (Views: 8.7ms | ActiveRecord: 5.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.9ms) Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:42:58', '2012-12-10 11:42:58') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:42:58', '2012-12-10 11:42:58') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:42:58', '2012-12-10 11:42:58', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:42:58', '2012-12-10 11:42:58', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:42:58', '2012-12-10 11:42:58', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:42:58', '2012-12-10 11:42:58') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:42:58', '2012-12-10 11:42:58') Fixture Delete (0.2ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:42:58', '2012-12-10 11:42:58') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:42:58', '2012-12-10 11:42:58')  (90.0ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.3ms) BEGIN Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:42:58' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (1.6ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (42.8ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (3.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.1ms) ROLLBACK  (0.5ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (1.8ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Rendered text template (0.0ms) Completed 200 OK in 19ms (Views: 18.8ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (3.4ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:42:58', NULL, 'Foo', '2012-12-10 11:42:58')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/32 Completed 302 Found in 12ms (ActiveRecord: 4.9ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (46.3ms) ROLLBACK  (0.9ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.2ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 28ms (ActiveRecord: 1.9ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (48.0ms) ROLLBACK  (0.9ms) BEGIN Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (12.1ms) Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (6.5ms) Completed 200 OK in 47ms (Views: 42.3ms | ActiveRecord: 2.1ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.0ms) Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.4ms) Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 2.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.9ms) Completed 200 OK in 11ms (Views: 6.3ms | ActiveRecord: 1.7ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.9ms)  (1.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (4.2ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.7ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:43:25', '2012-12-10 11:43:25') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:43:25', '2012-12-10 11:43:25') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:43:25', '2012-12-10 11:43:25', 980190962) Fixture Insert (0.6ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:43:25', '2012-12-10 11:43:25', 298486374) Fixture Insert (0.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:43:25', '2012-12-10 11:43:25', 113629430) Fixture Delete (0.2ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:43:25', '2012-12-10 11:43:25') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:43:25', '2012-12-10 11:43:25') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:43:25', '2012-12-10 11:43:25') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:43:25', '2012-12-10 11:43:25')  (54.7ms) COMMIT  (1.0ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Ominous::Warning Load (1.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:43:25' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (46.2ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.5ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Rendered text template (0.0ms) Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:43:26', NULL, 'Foo', '2012-12-10 11:43:26')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/33 Completed 302 Found in 11ms (ActiveRecord: 2.7ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (45.2ms) ROLLBACK  (1.0ms) BEGIN Thing Load (1.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things` Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.8ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 33ms (ActiveRecord: 3.6ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (49.5ms) ROLLBACK  (1.0ms) BEGIN Thing Load (7.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (9.5ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.6ms) Completed 200 OK in 43ms (Views: 38.3ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things`  Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.6ms) Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.3ms) Completed 200 OK in 13ms (Views: 8.5ms | ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.7ms) Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (1.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:46:29', '2012-12-10 11:46:29') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:46:29', '2012-12-10 11:46:29') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:46:29', '2012-12-10 11:46:29', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:46:29', '2012-12-10 11:46:29', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:46:29', '2012-12-10 11:46:29', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:46:29', '2012-12-10 11:46:29') Fixture Insert (1.0ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:46:29', '2012-12-10 11:46:29') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:46:29', '2012-12-10 11:46:29') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:46:29', '2012-12-10 11:46:29')  (63.4ms) COMMIT  (1.0ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.5ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.8ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:46:29' WHERE `ominous_warning_closers`.`id` = 298486374  (2.0ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (34.1ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (2.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Completed 500 Internal Server Error in 49ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (6.8ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:46:29', NULL, 'Foo', '2012-12-10 11:46:29')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/34 Completed 302 Found in 11ms (ActiveRecord: 1.5ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (38.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (2.6ms) SELECT COUNT(*) FROM `things`  (22.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (2.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.4ms) Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.0ms) Completed 200 OK in 37ms (Views: 31.9ms | ActiveRecord: 1.7ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (8.1ms) Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (6.2ms) Completed 200 OK in 17ms (Views: 13.9ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.3ms) Completed 200 OK in 12ms (Views: 8.2ms | ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (2.1ms) SET FOREIGN_KEY_CHECKS = 0  (3.7ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:47:41', '2012-12-10 11:47:41') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:47:41', '2012-12-10 11:47:41') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:47:41', '2012-12-10 11:47:41', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:47:41', '2012-12-10 11:47:41', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:47:41', '2012-12-10 11:47:41', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:47:41', '2012-12-10 11:47:41') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:47:41', '2012-12-10 11:47:41') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:47:41', '2012-12-10 11:47:41') Fixture Insert (0.2ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:47:41', '2012-12-10 11:47:41')  (66.5ms) COMMIT  (0.9ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) BEGIN Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.7ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:47:41' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (50.0ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:47:41', NULL, 'Foo', '2012-12-10 11:47:41')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/35 Completed 302 Found in 12ms (ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (43.0ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 29ms (ActiveRecord: 1.6ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (41.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (13.2ms) Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.3ms) Completed 200 OK in 36ms (Views: 31.7ms | ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK  (0.7ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.2ms) Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.2ms) Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.9ms) Completed 200 OK in 12ms (Views: 7.9ms | ActiveRecord: 1.7ms)  (1.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (1.0ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:58:21', '2012-12-10 11:58:21') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:58:21', '2012-12-10 11:58:21') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.8ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:58:21', '2012-12-10 11:58:21', 980190962) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:58:21', '2012-12-10 11:58:21', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:58:21', '2012-12-10 11:58:21', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:58:21', '2012-12-10 11:58:21') Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:58:21', '2012-12-10 11:58:21') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:58:21', '2012-12-10 11:58:21') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:58:21', '2012-12-10 11:58:21')  (52.1ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.7ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:58:22' WHERE `ominous_warning_closers`.`id` = 298486374  (0.6ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (45.9ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:58:22', NULL, 'Foo', '2012-12-10 11:58:22')  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/36 Completed 302 Found in 8ms (ActiveRecord: 1.5ms)  (2.1ms) SELECT COUNT(*) FROM `things`   (41.9ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 34ms (ActiveRecord: 2.0ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (45.3ms) ROLLBACK  (0.9ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.7ms) Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (50.5ms) Completed 500 Internal Server Error in 87ms  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things` Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.6ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (26.3ms) Completed 500 Internal Server Error in 38ms  (1.0ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (26.0ms) Completed 500 Internal Server Error in 34ms  (0.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 1.2ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (0.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 11:59:34', '2012-12-10 11:59:34') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 11:59:34', '2012-12-10 11:59:34') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 11:59:35', '2012-12-10 11:59:35', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 11:59:35', '2012-12-10 11:59:35', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 11:59:35', '2012-12-10 11:59:35', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 11:59:35', '2012-12-10 11:59:35') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 11:59:35', '2012-12-10 11:59:35') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 11:59:35', '2012-12-10 11:59:35') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 11:59:35', '2012-12-10 11:59:35')  (50.7ms) COMMIT  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.7ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 11:59:35' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.4ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (26.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 11:59:35', NULL, 'Foo', '2012-12-10 11:59:35')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/37 Completed 302 Found in 9ms (ActiveRecord: 1.2ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (29.0ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 29ms (ActiveRecord: 2.0ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (41.2ms) ROLLBACK  (1.3ms) BEGIN Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.7ms) Ominous::Warning Load (1.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (51.9ms) Completed 500 Internal Server Error in 88ms  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.6ms) Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)  (1.0ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (26.9ms) Completed 500 Internal Server Error in 35ms  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 2.8ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (25.0ms) Completed 500 Internal Server Error in 32ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.4ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (7.0ms) BEGIN Fixture Delete (0.9ms) DELETE FROM `ominous_warnings` Fixture Insert (0.8ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 12:00:53', '2012-12-10 12:00:53') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 12:00:53', '2012-12-10 12:00:53') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 12:00:53', '2012-12-10 12:00:53', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 12:00:53', '2012-12-10 12:00:53', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 12:00:53', '2012-12-10 12:00:53', 113629430) Fixture Delete (0.5ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 12:00:53', '2012-12-10 12:00:53') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 12:00:53', '2012-12-10 12:00:53') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 12:00:53', '2012-12-10 12:00:53') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 12:00:53', '2012-12-10 12:00:53')  (65.8ms) COMMIT  (1.8ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (2.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 12:00:53' WHERE `ominous_warning_closers`.`id` = 298486374  (0.6ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (1.6ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (33.9ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 12:00:54', NULL, 'Foo', '2012-12-10 12:00:54')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/38 Completed 302 Found in 9ms (ActiveRecord: 1.3ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (49.8ms) ROLLBACK  (1.0ms) BEGIN Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.9ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 32ms (ActiveRecord: 2.5ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (41.3ms) ROLLBACK  (1.1ms) BEGIN Thing Load (2.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (14.9ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (54.5ms) Completed 500 Internal Server Error in 99ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things` Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (4.2ms) Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (27.2ms) Completed 500 Internal Server Error in 35ms  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (2.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (29.9ms) Completed 500 Internal Server Error in 39ms  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 3.2ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (1.2ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 12:01:19', '2012-12-10 12:01:19') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 12:01:19', '2012-12-10 12:01:19') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 12:01:19', '2012-12-10 12:01:19', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 12:01:19', '2012-12-10 12:01:19', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 12:01:19', '2012-12-10 12:01:19', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 12:01:19', '2012-12-10 12:01:19') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 12:01:19', '2012-12-10 12:01:19') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 12:01:19', '2012-12-10 12:01:19') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 12:01:19', '2012-12-10 12:01:19')  (80.5ms) COMMIT  (1.1ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (8.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.7ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 12:01:19' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.4ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (39.9ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (1.1ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.7ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 12:01:19', NULL, 'Foo', '2012-12-10 12:01:19')  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/39 Completed 302 Found in 13ms (ActiveRecord: 1.5ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (42.0ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 29ms (ActiveRecord: 2.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (42.0ms) ROLLBACK  (1.1ms) BEGIN Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (15.7ms) Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (55.6ms) Completed 500 Internal Server Error in 97ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.4ms) Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (27.8ms) Completed 500 Internal Server Error in 36ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (22.7ms) Completed 500 Internal Server Error in 31ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (4.0ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 12:01:45', '2012-12-10 12:01:45') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 12:01:45', '2012-12-10 12:01:45') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.9ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 12:01:45', '2012-12-10 12:01:45', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 12:01:45', '2012-12-10 12:01:45', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 12:01:45', '2012-12-10 12:01:45', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 12:01:45', '2012-12-10 12:01:45') Fixture Insert (0.3ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 12:01:45', '2012-12-10 12:01:45') Fixture Delete (0.5ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 12:01:45', '2012-12-10 12:01:45') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 12:01:45', '2012-12-10 12:01:45')  (52.0ms) COMMIT  (1.2ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) BEGIN Ominous::Warning Load (1.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 12:01:45' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (28.9ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.9ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 12:01:45', NULL, 'Foo', '2012-12-10 12:01:45')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/40 Completed 302 Found in 9ms (ActiveRecord: 1.1ms)  (0.4ms) SELECT COUNT(*) FROM `things`   (35.2ms) ROLLBACK  (0.9ms) BEGIN Thing Load (1.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (3.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.7ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 34ms (ActiveRecord: 2.2ms)  (0.4ms) SELECT COUNT(*) FROM `things`  (39.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.9ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (53.9ms) Completed 500 Internal Server Error in 82ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.9ms) Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (32.5ms) Completed 500 Internal Server Error in 41ms  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.4ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (27.8ms) Completed 500 Internal Server Error in 35ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (2.2ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 12:03:39', '2012-12-10 12:03:39') Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 12:03:39', '2012-12-10 12:03:39') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 12:03:39', '2012-12-10 12:03:39', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 12:03:39', '2012-12-10 12:03:39', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 12:03:39', '2012-12-10 12:03:39', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 12:03:39', '2012-12-10 12:03:39') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 12:03:39', '2012-12-10 12:03:39') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 12:03:39', '2012-12-10 12:03:39') Fixture Insert (0.5ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 12:03:39', '2012-12-10 12:03:39')  (94.9ms) COMMIT  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.8ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 12:03:40' WHERE `ominous_warning_closers`.`id` = 298486374  (2.1ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (49.8ms) ROLLBACK  (1.2ms) BEGIN Ominous::Warning Load (1.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.2ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.2ms) ROLLBACK  (1.1ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (2.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.8ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.5ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 12:03:40', NULL, 'Foo', '2012-12-10 12:03:40')  (1.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/41 Completed 302 Found in 8ms (ActiveRecord: 2.0ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (38.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (20.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 26ms (ActiveRecord: 22.0ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (37.0ms) ROLLBACK  (1.0ms) BEGIN Thing Load (2.0ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (8.6ms) Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (10.9ms) Completed 500 Internal Server Error in 52ms  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things` Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.4ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.8ms) Completed 500 Internal Server Error in 13ms  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.0ms) Completed 500 Internal Server Error in 11ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (2.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 7ms (ActiveRecord: 1.5ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (0.4ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 12:04:11', '2012-12-10 12:04:11') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 12:04:11', '2012-12-10 12:04:11') Fixture Delete (2.9ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 12:04:12', '2012-12-10 12:04:12', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 12:04:12', '2012-12-10 12:04:12', 298486374) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 12:04:12', '2012-12-10 12:04:12', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.5ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 12:04:12', '2012-12-10 12:04:12') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 12:04:12', '2012-12-10 12:04:12') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 12:04:12', '2012-12-10 12:04:12') Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 12:04:12', '2012-12-10 12:04:12')  (60.8ms) COMMIT  (1.4ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) BEGIN Ominous::Warning Load (1.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.5ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.6ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 12:04:12' WHERE `ominous_warning_closers`.`id` = 298486374  (1.8ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (40.7ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 12:04:12', NULL, 'Foo', '2012-12-10 12:04:12')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/42 Completed 302 Found in 14ms (ActiveRecord: 1.3ms)  (0.6ms) SELECT COUNT(*) FROM `things`   (42.2ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (20.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (2.1ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 29ms (ActiveRecord: 23.5ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (46.9ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.6ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (12.1ms) Completed 500 Internal Server Error in 42ms  (1.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (5.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.7ms) SELECT `things`.* FROM `things` Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.7ms) Completed 500 Internal Server Error in 12ms  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (2.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.7ms) Completed 500 Internal Server Error in 11ms  (0.4ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.8ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.7ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (4.0ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (1.0ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 12:05:43', '2012-12-10 12:05:43') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 12:05:43', '2012-12-10 12:05:43') Fixture Delete (0.4ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 12:05:43', '2012-12-10 12:05:43', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 12:05:43', '2012-12-10 12:05:43', 298486374) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 12:05:43', '2012-12-10 12:05:43', 113629430) Fixture Delete (0.4ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 12:05:43', '2012-12-10 12:05:43') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 12:05:43', '2012-12-10 12:05:43') Fixture Delete (0.3ms) DELETE FROM `things` Fixture Insert (0.4ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 12:05:43', '2012-12-10 12:05:43') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 12:05:43', '2012-12-10 12:05:43')  (93.1ms) COMMIT  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.2ms) BEGIN Ominous::Warning Load (0.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 12:05:43' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.4ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (33.2ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.6ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 12:05:44', NULL, 'Foo', '2012-12-10 12:05:44')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/43 Completed 302 Found in 10ms (ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM `things`   (35.7ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (21.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 28ms (ActiveRecord: 22.7ms)  (0.5ms) SELECT COUNT(*) FROM `things`  (34.1ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (11.5ms) Ominous::Warning Load (0.8ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (1.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (13.7ms) Completed 500 Internal Server Error in 46ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (1.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 1.5ms)  (0.8ms) ROLLBACK  (2.0ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (3.2ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.5ms) Completed 500 Internal Server Error in 12ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.5ms) Completed 500 Internal Server Error in 12ms  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.2ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (3.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 10ms (ActiveRecord: 3.8ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (2.4ms) BEGIN Fixture Delete (0.6ms) DELETE FROM `ominous_warnings` Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 12:22:32', '2012-12-10 12:22:32') Fixture Insert (0.4ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 12:22:32', '2012-12-10 12:22:32') Fixture Delete (0.3ms) DELETE FROM `ominous_warning_closers` Fixture Insert (1.2ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 12:22:32', '2012-12-10 12:22:32', 980190962) Fixture Insert (0.3ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 12:22:32', '2012-12-10 12:22:32', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 12:22:32', '2012-12-10 12:22:32', 113629430) Fixture Delete (0.3ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_hide_warning', '2012-12-10 12:22:32', '2012-12-10 12:22:32') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 12:22:32', '2012-12-10 12:22:32') Fixture Delete (0.4ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 12:22:32', '2012-12-10 12:22:32') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 12:22:32', '2012-12-10 12:22:32')  (41.0ms) COMMIT  (0.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.3ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.6ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.5ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 12:22:32' WHERE `ominous_warning_closers`.`id` = 298486374  (0.4ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.2ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (1.2ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (41.9ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.6ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 12:22:33', NULL, 'Foo', '2012-12-10 12:22:33')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/3 Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (1.4ms) SELECT COUNT(*) FROM `things`   (46.2ms) ROLLBACK  (0.9ms) BEGIN Thing Load (2.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (1.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (5.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (1.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (30.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 37ms (ActiveRecord: 31.9ms)  (0.6ms) SELECT COUNT(*) FROM `things`  (43.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (12.5ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (3.0ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (8.7ms) Completed 200 OK in 43ms (Views: 35.4ms | ActiveRecord: 4.1ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.6ms) SELECT `things`.* FROM `things` Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (1.0ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (5.4ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (1.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (5.2ms) Completed 200 OK in 14ms (Views: 11.1ms | ActiveRecord: 1.5ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.2ms) Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 1.7ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (1.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 1.8ms)  (0.4ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.3ms) SET FOREIGN_KEY_CHECKS = 0  (6.5ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `ominous_warnings` Fixture Insert (0.6ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'thing_alert', '2012-12-10 13:37:32', '2012-12-10 13:37:32') Fixture Insert (0.5ms) INSERT INTO `ominous_warnings` (`id`, `name`, `created_at`, `updated_at`) VALUES (2, 'other_alert', '2012-12-10 13:37:32', '2012-12-10 13:37:32') Fixture Delete (0.5ms) DELETE FROM `ominous_warning_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 1, 1, '2012-12-10 13:37:32', '2012-12-10 13:37:32', 980190962) Fixture Insert (0.4ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (1, 2, 2, '2012-12-10 13:37:32', '2012-12-10 13:37:32', 298486374) Fixture Insert (0.5ms) INSERT INTO `ominous_warning_closers` (`warning_id`, `closer_id`, `position`, `created_at`, `updated_at`, `id`) VALUES (2, 2, 1, '2012-12-10 13:37:32', '2012-12-10 13:37:32', 113629430) Fixture Delete (0.8ms) DELETE FROM `ominous_closers` Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `closure_method`, `created_at`, `updated_at`) VALUES (1, 'closer_one', 'close_and_dismiss_warning', '2012-12-10 13:37:32', '2012-12-10 13:37:32') Fixture Insert (0.4ms) INSERT INTO `ominous_closers` (`id`, `name`, `url`, `closure_method`, `created_at`, `updated_at`) VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', '2012-12-10 13:37:32', '2012-12-10 13:37:32') Fixture Delete (0.8ms) DELETE FROM `things` Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (1, 'Foo', 0, '2012-12-10 13:37:32', '2012-12-10 13:37:32') Fixture Insert (0.3ms) INSERT INTO `things` (`id`, `name`, `has_warning`, `created_at`, `updated_at`) VALUES (2, 'Bar', 1, '2012-12-10 13:37:32', '2012-12-10 13:37:32')  (60.6ms) COMMIT  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Ominous::Warning Load (6.9ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.1ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_closers`.`id` = 1 ORDER BY position LIMIT 1  (0.4ms) ROLLBACK  (0.3ms) BEGIN Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 2 LIMIT 1 Ominous::Closer Load (0.7ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Ominous::WarningCloser Load (0.5ms) SELECT DISTINCT `ominous_warning_closers`.* FROM `ominous_warning_closers` WHERE `ominous_warning_closers`.`warning_id` = 1 AND `ominous_warning_closers`.`closer_id` = 2 ORDER BY position LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE `ominous_warning_closers` SET position = (position + 1) WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position < 2)  (0.6ms) UPDATE `ominous_warning_closers` SET `position` = 1, `updated_at` = '2012-12-10 13:37:32' WHERE `ominous_warning_closers`.`id` = 298486374  (0.5ms) SELECT COUNT(*) FROM `ominous_warning_closers` WHERE (`ominous_warning_closers`.`warning_id` = 1 AND position = 1)  (0.3ms) RELEASE SAVEPOINT active_record_1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.9ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position  (47.5ms) ROLLBACK  (1.1ms) BEGIN Ominous::Warning Load (2.7ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (2.3ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1  (1.4ms) ROLLBACK  (0.8ms) BEGIN Ominous::Warning Load (4.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (1.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (1.5ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1  (5.7ms) ROLLBACK  (0.4ms) BEGIN Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` WHERE `ominous_closers`.`id` = 1 LIMIT 1 Ominous::Warning Exists (2.1ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'does_not_exist' LIMIT 1  (0.6ms) ROLLBACK  (1.0ms) BEGIN Ominous::Warning Load (1.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by Ominous::WarningsController#dismiss as HTML Parameters: {"id"=>"1"} Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Rendered text template (0.0ms) Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.5ms)  (0.8ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.5ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#create as HTML Parameters: {"thing"=>{"name"=>"Foo"}}  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO `things` (`created_at`, `has_warning`, `name`, `updated_at`) VALUES ('2012-12-10 13:37:33', NULL, 'Foo', '2012-12-10 13:37:33')  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/4 Completed 302 Found in 8ms (ActiveRecord: 1.7ms)  (3.3ms) SELECT COUNT(*) FROM `things`   (41.6ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM `things`  Processing by ThingsController#destroy as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM `things` WHERE `things`.`id` = 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things Completed 302 Found in 6ms (ActiveRecord: 1.7ms)  (0.6ms) SELECT COUNT(*) FROM `things`  (46.4ms) ROLLBACK  (1.6ms) BEGIN Thing Load (0.9ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#edit as HTML Parameters: {"id"=>"1"} Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Rendered things/_form.html.erb (10.1ms) Ominous::Warning Load (0.6ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.8ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (8.1ms) Completed 200 OK in 62ms (Views: 34.8ms | ActiveRecord: 2.0ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#index as HTML Thing Load (0.5ms) SELECT `things`.* FROM `things` Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#new as HTML Rendered things/_form.html.erb (2.9ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.3ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (1.1ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.4ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.8ms) Completed 200 OK in 16ms (Views: 10.5ms | ActiveRecord: 1.9ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.3ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.6ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (0.4ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Warning Load (0.5ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Ominous::Closer Load (0.5ms) SELECT `ominous_closers`.* FROM `ominous_closers` INNER JOIN `ominous_warning_closers` ON `ominous_closers`.`id` = `ominous_warning_closers`.`closer_id` WHERE `ominous_warning_closers`.`warning_id` = 1 ORDER BY position Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.5ms) Completed 200 OK in 14ms (Views: 8.4ms | ActiveRecord: 1.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (1.7ms) BEGIN Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (0.7ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#show as HTML Parameters: {"id"=>"2"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Exists (1.2ms) SELECT 1 AS one FROM `ominous_warnings` WHERE `ominous_warnings`.`name` = 'thing_alert' LIMIT 1 Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 1.7ms)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Thing Load (0.4ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1 Thing Load (2.8ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 2 LIMIT 1 Ominous::Warning Load (0.4ms) SELECT `ominous_warnings`.* FROM `ominous_warnings` WHERE `ominous_warnings`.`id` = 1 LIMIT 1 Processing by ThingsController#update as HTML Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"} Thing Load (0.5ms) SELECT `things`.* FROM `things` WHERE `things`.`id` = 1 LIMIT 1  (1.6ms) SAVEPOINT active_record_1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/things/1 Completed 302 Found in 6ms (ActiveRecord: 2.4ms)  (0.3ms) ROLLBACK