ominous 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -29482,3 +29482,1636 @@ Processing by ThingsController#index as HTML
29482
29482
  Thing Load (0.1ms) SELECT "things".* FROM "things"
29483
29483
  Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.1ms)
29484
29484
   (0.1ms) rollback transaction
29485
+ Connecting to database specified by database.yml
29486
+  (3.8ms) begin transaction
29487
+ Fixture Delete (1.1ms) DELETE FROM "ominous_warnings"
29488
+ Fixture Insert (9.2ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2013-02-18 10:54:42', '2013-02-18 10:54:42')
29489
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2013-02-18 10:54:42', '2013-02-18 10:54:42')
29490
+ Fixture Delete (0.5ms) DELETE FROM "ominous_warning_closers"
29491
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2013-02-18 10:54:42', '2013-02-18 10:54:42', 980190962)
29492
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2013-02-18 10:54:42', '2013-02-18 10:54:42', 298486374)
29493
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2013-02-18 10:54:42', '2013-02-18 10:54:42', 113629430)
29494
+ Fixture Delete (0.6ms) DELETE FROM "ominous_closers"
29495
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2013-02-18 10:54:42', '2013-02-18 10:54:42')
29496
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2013-02-18 10:54:42', '2013-02-18 10:54:42')
29497
+ Fixture Delete (0.5ms) DELETE FROM "things"
29498
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2013-02-18 10:54:42', '2013-02-18 10:54:42')
29499
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2013-02-18 10:54:42', '2013-02-18 10:54:42')
29500
+  (145.0ms) commit transaction
29501
+  (0.1ms) begin transaction
29502
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29503
+ Ominous::Closer Load (0.2ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29504
+  (0.1ms) SAVEPOINT active_record_1
29505
+ Ominous::WarningCloser Exists (0.9ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 1 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
29506
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
29507
+  (0.1ms) rollback transaction
29508
+  (0.1ms) begin transaction
29509
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29510
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29511
+  (0.0ms) SAVEPOINT active_record_1
29512
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
29513
+  (0.0ms) SAVEPOINT active_record_1
29514
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29515
+  (0.3ms) SAVEPOINT active_record_1
29516
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29517
+  (0.0ms) rollback transaction
29518
+  (0.0ms) begin transaction
29519
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29520
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29521
+  (0.0ms) SAVEPOINT active_record_1
29522
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29523
+  (0.1ms) rollback transaction
29524
+  (0.0ms) begin transaction
29525
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29526
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29527
+ Ominous::Closer Exists (6.0ms) SELECT DISTINCT 1 AS one 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
29528
+  (0.1ms) rollback transaction
29529
+  (0.1ms) begin transaction
29530
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29531
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29532
+  (0.1ms) rollback transaction
29533
+  (0.1ms) begin transaction
29534
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29535
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29536
+ Ominous::Closer Load (0.5ms) SELECT DISTINCT "ominous_closers".* 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
29537
+  (0.1ms) rollback transaction
29538
+  (0.0ms) begin transaction
29539
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29540
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29541
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29542
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
29543
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
29544
+ Ominous::WarningCloser Load (0.2ms) 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
29545
+  (0.0ms) SAVEPOINT active_record_1
29546
+ SQL (0.9ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
29547
+ Ominous::WarningCloser Exists (0.2ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 2 AND "ominous_warning_closers"."id" != 298486374 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
29548
+  (0.3ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-02-18 10:54:43.407768' WHERE "ominous_warning_closers"."id" = 298486374
29549
+  (0.4ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
29550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29551
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29552
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
29553
+  (0.5ms) rollback transaction
29554
+  (0.0ms) begin transaction
29555
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29556
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29557
+  (0.1ms) rollback transaction
29558
+  (0.0ms) begin transaction
29559
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29560
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29561
+ Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29562
+  (0.1ms) rollback transaction
29563
+  (0.0ms) begin transaction
29564
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29565
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29566
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
29567
+  (0.0ms) rollback transaction
29568
+  (0.1ms) begin transaction
29569
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29570
+ Processing by Ominous::WarningsController#dismiss as HTML
29571
+ Parameters: {"id"=>"1"}
29572
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
29573
+ Rendered text template (0.0ms)
29574
+ Completed 200 OK in 104ms (Views: 103.1ms | ActiveRecord: 0.1ms)
29575
+  (0.1ms) rollback transaction
29576
+  (0.1ms) begin transaction
29577
+  (0.0ms) rollback transaction
29578
+  (0.1ms) begin transaction
29579
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29580
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29581
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29582
+  (0.1ms) SELECT COUNT(*) FROM "things" 
29583
+ Processing by ThingsController#create as HTML
29584
+ Parameters: {"thing"=>{"name"=>"Foo"}}
29585
+  (0.1ms) SAVEPOINT active_record_1
29586
+ SQL (4.0ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 18 Feb 2013 10:54:43 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Mon, 18 Feb 2013 10:54:43 UTC +00:00]]
29587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29588
+ Redirected to http://test.host/things/3
29589
+ Completed 302 Found in 10ms (ActiveRecord: 4.2ms)
29590
+  (0.2ms) SELECT COUNT(*) FROM "things" 
29591
+  (0.5ms) rollback transaction
29592
+  (0.1ms) begin transaction
29593
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29594
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29595
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29596
+  (0.1ms) SELECT COUNT(*) FROM "things" 
29597
+ Processing by ThingsController#destroy as HTML
29598
+ Parameters: {"id"=>"1"}
29599
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29600
+  (0.1ms) SAVEPOINT active_record_1
29601
+ SQL (1.1ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
29602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29603
+ Redirected to http://test.host/things
29604
+ Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
29605
+  (0.2ms) SELECT COUNT(*) FROM "things"
29606
+  (0.4ms) rollback transaction
29607
+  (0.1ms) begin transaction
29608
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29609
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29610
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29611
+ Processing by ThingsController#edit as HTML
29612
+ Parameters: {"id"=>"1"}
29613
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29614
+ Rendered things/_form.html.erb (3.8ms)
29615
+ Completed 200 OK in 66ms (Views: 63.0ms | ActiveRecord: 0.1ms)
29616
+  (0.0ms) rollback transaction
29617
+  (0.1ms) begin transaction
29618
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29619
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29620
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29621
+ Processing by ThingsController#index as HTML
29622
+ Thing Load (0.2ms) SELECT "things".* FROM "things"
29623
+ Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.2ms)
29624
+  (0.2ms) rollback transaction
29625
+  (0.0ms) begin transaction
29626
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29627
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29628
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29629
+ Processing by ThingsController#new as HTML
29630
+ Rendered things/_form.html.erb (3.6ms)
29631
+ Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
29632
+  (0.1ms) rollback transaction
29633
+  (0.1ms) begin transaction
29634
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29635
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29636
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29637
+ Processing by ThingsController#show as HTML
29638
+ Parameters: {"id"=>"1"}
29639
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29640
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29641
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
29642
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (66.7ms)
29643
+ Completed 200 OK in 77ms (Views: 74.2ms | ActiveRecord: 0.5ms)
29644
+  (0.1ms) rollback transaction
29645
+  (0.1ms) begin transaction
29646
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29647
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29648
+ Ominous::Warning Load (0.7ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29649
+ Processing by ThingsController#show as HTML
29650
+ Parameters: {"id"=>"1"}
29651
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29652
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
29653
+  (0.1ms) rollback transaction
29654
+  (0.0ms) begin transaction
29655
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29656
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29657
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29658
+ Processing by ThingsController#show as HTML
29659
+ Parameters: {"id"=>"2"}
29660
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
29661
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29662
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29663
+ Ominous::Closer Load (0.8ms) SELECT DISTINCT "ominous_closers".* 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
29664
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.1ms)
29665
+ Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 1.0ms)
29666
+  (0.1ms) rollback transaction
29667
+  (0.0ms) begin transaction
29668
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29669
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29670
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29671
+ Processing by ThingsController#show as HTML
29672
+ Parameters: {"id"=>"1"}
29673
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29674
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
29675
+  (0.1ms) rollback transaction
29676
+  (0.0ms) begin transaction
29677
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29678
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29679
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29680
+ Processing by ThingsController#show as HTML
29681
+ Parameters: {"id"=>"2"}
29682
+ Thing Load (0.4ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
29683
+ Ominous::Warning Exists (0.5ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29684
+ Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.9ms)
29685
+  (0.1ms) rollback transaction
29686
+  (0.0ms) begin transaction
29687
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29688
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29689
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29690
+ Processing by ThingsController#update as HTML
29691
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
29692
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29693
+  (0.1ms) SAVEPOINT active_record_1
29694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29695
+ Redirected to http://test.host/things/1
29696
+ Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
29697
+  (0.1ms) rollback transaction
29698
+  (0.0ms) begin transaction
29699
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29700
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29701
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29702
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29703
+ Processing by ThingsController#index as HTML
29704
+ Thing Load (0.1ms) SELECT "things".* FROM "things"
29705
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
29706
+  (0.1ms) rollback transaction
29707
+ Connecting to database specified by database.yml
29708
+ Connecting to database specified by database.yml
29709
+  (0.8ms) begin transaction
29710
+ Fixture Delete (1.0ms) DELETE FROM "ominous_warnings"
29711
+ Fixture Insert (0.7ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2013-02-18 11:22:23', '2013-02-18 11:22:23')
29712
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2013-02-18 11:22:23', '2013-02-18 11:22:23')
29713
+ Fixture Delete (0.5ms) DELETE FROM "ominous_warning_closers"
29714
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2013-02-18 11:22:23', '2013-02-18 11:22:23', 980190962)
29715
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2013-02-18 11:22:23', '2013-02-18 11:22:23', 298486374)
29716
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2013-02-18 11:22:23', '2013-02-18 11:22:23', 113629430)
29717
+ Fixture Delete (0.5ms) DELETE FROM "ominous_closers"
29718
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2013-02-18 11:22:23', '2013-02-18 11:22:23')
29719
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2013-02-18 11:22:23', '2013-02-18 11:22:23')
29720
+ Fixture Delete (0.5ms) DELETE FROM "things"
29721
+ Fixture Insert (1.9ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2013-02-18 11:22:23', '2013-02-18 11:22:23')
29722
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2013-02-18 11:22:23', '2013-02-18 11:22:23')
29723
+  (133.0ms) commit transaction
29724
+  (0.1ms) begin transaction
29725
+ Ominous::Warning Load (0.3ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29726
+ Ominous::Closer Load (0.2ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29727
+  (0.1ms) SAVEPOINT active_record_1
29728
+ Ominous::WarningCloser Exists (0.2ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 1 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
29729
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
29730
+  (0.1ms) rollback transaction
29731
+  (0.1ms) begin transaction
29732
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29733
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29734
+  (0.0ms) SAVEPOINT active_record_1
29735
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
29736
+  (0.1ms) SAVEPOINT active_record_1
29737
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29738
+  (0.0ms) SAVEPOINT active_record_1
29739
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29740
+  (0.1ms) rollback transaction
29741
+  (0.1ms) begin transaction
29742
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29743
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29744
+  (0.0ms) SAVEPOINT active_record_1
29745
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29746
+  (0.0ms) rollback transaction
29747
+  (0.0ms) begin transaction
29748
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29749
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29750
+ Ominous::Closer Exists (0.2ms) SELECT DISTINCT 1 AS one 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
29751
+  (0.1ms) rollback transaction
29752
+  (0.1ms) begin transaction
29753
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29754
+ Ominous::Closer Load (0.4ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29755
+  (0.1ms) rollback transaction
29756
+  (0.0ms) begin transaction
29757
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29758
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29759
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
29760
+  (0.1ms) rollback transaction
29761
+  (0.0ms) begin transaction
29762
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29763
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29764
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29765
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
29766
+ Ominous::Closer Load (2.3ms) SELECT DISTINCT "ominous_closers".* 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
29767
+ Ominous::WarningCloser Load (0.1ms) 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
29768
+  (0.1ms) SAVEPOINT active_record_1
29769
+ SQL (1.2ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
29770
+ Ominous::WarningCloser Exists (0.1ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 2 AND "ominous_warning_closers"."id" != 298486374 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
29771
+  (0.2ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-02-18 11:22:23.809329' WHERE "ominous_warning_closers"."id" = 298486374
29772
+  (0.1ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
29773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29774
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29775
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
29776
+  (0.6ms) rollback transaction
29777
+  (0.2ms) begin transaction
29778
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29779
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29780
+  (0.5ms) rollback transaction
29781
+  (0.0ms) begin transaction
29782
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29783
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29784
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29785
+  (0.1ms) rollback transaction
29786
+  (0.0ms) begin transaction
29787
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29788
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29789
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
29790
+  (0.0ms) rollback transaction
29791
+  (0.1ms) begin transaction
29792
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29793
+ Processing by Ominous::WarningsController#dismiss as HTML
29794
+ Parameters: {"id"=>"1"}
29795
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
29796
+ Rendered text template (0.0ms)
29797
+ Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.1ms)
29798
+  (0.1ms) rollback transaction
29799
+  (0.1ms) begin transaction
29800
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29801
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
29802
+  (0.0ms) SAVEPOINT active_record_1
29803
+  (3.8ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2013-02-18 11:22:23.897089' WHERE "ominous_closers"."id" = 1
29804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29805
+  (0.4ms) rollback transaction
29806
+  (0.0ms) begin transaction
29807
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29808
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
29809
+  (0.0ms) SAVEPOINT active_record_1
29810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29811
+  (0.1ms) rollback transaction
29812
+  (0.1ms) begin transaction
29813
+  (0.0ms) rollback transaction
29814
+  (0.2ms) begin transaction
29815
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29816
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29817
+ Ominous::Warning Load (0.9ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29818
+  (0.1ms) SELECT COUNT(*) FROM "things"
29819
+ Processing by ThingsController#create as HTML
29820
+ Parameters: {"thing"=>{"name"=>"Foo"}}
29821
+  (0.1ms) SAVEPOINT active_record_1
29822
+ SQL (5.6ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 18 Feb 2013 11:22:23 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Mon, 18 Feb 2013 11:22:23 UTC +00:00]]
29823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29824
+ Redirected to http://test.host/things/3
29825
+ Completed 302 Found in 12ms (ActiveRecord: 5.8ms)
29826
+  (4.4ms) SELECT COUNT(*) FROM "things"
29827
+  (0.3ms) rollback transaction
29828
+  (0.0ms) begin transaction
29829
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29830
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29831
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29832
+  (0.1ms) SELECT COUNT(*) FROM "things"
29833
+ Processing by ThingsController#destroy as HTML
29834
+ Parameters: {"id"=>"1"}
29835
+ Thing Load (3.6ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29836
+  (0.1ms) SAVEPOINT active_record_1
29837
+ SQL (0.2ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
29838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29839
+ Redirected to http://test.host/things
29840
+ Completed 302 Found in 6ms (ActiveRecord: 4.0ms)
29841
+  (0.1ms) SELECT COUNT(*) FROM "things" 
29842
+  (0.2ms) rollback transaction
29843
+  (0.1ms) begin transaction
29844
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29845
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29846
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29847
+ Processing by ThingsController#edit as HTML
29848
+ Parameters: {"id"=>"1"}
29849
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29850
+ Rendered things/_form.html.erb (8.1ms)
29851
+ Completed 200 OK in 81ms (Views: 76.8ms | ActiveRecord: 0.1ms)
29852
+  (0.1ms) rollback transaction
29853
+  (0.0ms) begin transaction
29854
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29855
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29856
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29857
+ Processing by ThingsController#index as HTML
29858
+ Thing Load (0.2ms) SELECT "things".* FROM "things" 
29859
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms)
29860
+  (0.1ms) rollback transaction
29861
+  (0.0ms) begin transaction
29862
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29863
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29864
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29865
+ Processing by ThingsController#new as HTML
29866
+ Rendered things/_form.html.erb (3.1ms)
29867
+ Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)
29868
+  (0.1ms) rollback transaction
29869
+  (0.0ms) begin transaction
29870
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29871
+ Thing Load (1.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29872
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29873
+ Processing by ThingsController#show as HTML
29874
+ Parameters: {"id"=>"1"}
29875
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29876
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29877
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
29878
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (44.5ms)
29879
+ Completed 200 OK in 55ms (Views: 51.0ms | ActiveRecord: 0.6ms)
29880
+  (0.2ms) rollback transaction
29881
+  (0.0ms) begin transaction
29882
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29883
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29884
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29885
+ Processing by ThingsController#show as HTML
29886
+ Parameters: {"id"=>"1"}
29887
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29888
+ Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.1ms)
29889
+  (0.1ms) rollback transaction
29890
+  (0.1ms) begin transaction
29891
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29892
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29893
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29894
+ Processing by ThingsController#show as HTML
29895
+ Parameters: {"id"=>"2"}
29896
+ Thing Load (6.7ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
29897
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29898
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29899
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
29900
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.3ms)
29901
+ Completed 200 OK in 25ms (Views: 16.3ms | ActiveRecord: 7.1ms)
29902
+  (0.1ms) rollback transaction
29903
+  (0.1ms) begin transaction
29904
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29905
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29906
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29907
+ Processing by ThingsController#show as HTML
29908
+ Parameters: {"id"=>"1"}
29909
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29910
+ Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
29911
+  (0.1ms) rollback transaction
29912
+  (0.1ms) begin transaction
29913
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29914
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29915
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29916
+ Processing by ThingsController#show as HTML
29917
+ Parameters: {"id"=>"2"}
29918
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
29919
+ Ominous::Warning Exists (0.3ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29920
+ Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.4ms)
29921
+  (0.1ms) rollback transaction
29922
+  (0.1ms) begin transaction
29923
+ Thing Load (1.8ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29924
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29925
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29926
+ Processing by ThingsController#update as HTML
29927
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
29928
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
29929
+  (0.1ms) SAVEPOINT active_record_1
29930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29931
+ Redirected to http://test.host/things/1
29932
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
29933
+  (0.1ms) rollback transaction
29934
+  (0.1ms) begin transaction
29935
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
29936
+ Thing Load (3.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
29937
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29938
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
29939
+ Processing by ThingsController#index as HTML
29940
+ Thing Load (0.1ms) SELECT "things".* FROM "things" 
29941
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)
29942
+  (0.1ms) rollback transaction
29943
+ Connecting to database specified by database.yml
29944
+  (3.7ms) begin transaction
29945
+ Fixture Delete (3.9ms) DELETE FROM "ominous_warnings"
29946
+ Fixture Insert (0.2ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2013-02-18 11:22:36', '2013-02-18 11:22:36')
29947
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2013-02-18 11:22:36', '2013-02-18 11:22:36')
29948
+ Fixture Delete (0.1ms) DELETE FROM "ominous_warning_closers"
29949
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2013-02-18 11:22:37', '2013-02-18 11:22:37', 980190962)
29950
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2013-02-18 11:22:37', '2013-02-18 11:22:37', 298486374)
29951
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2013-02-18 11:22:37', '2013-02-18 11:22:37', 113629430)
29952
+ Fixture Delete (0.1ms) DELETE FROM "ominous_closers"
29953
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2013-02-18 11:22:37', '2013-02-18 11:22:37')
29954
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2013-02-18 11:22:37', '2013-02-18 11:22:37')
29955
+ Fixture Delete (0.5ms) DELETE FROM "things"
29956
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2013-02-18 11:22:37', '2013-02-18 11:22:37')
29957
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2013-02-18 11:22:37', '2013-02-18 11:22:37')
29958
+  (119.7ms) commit transaction
29959
+  (0.1ms) begin transaction
29960
+ Ominous::Warning Load (1.7ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29961
+ Ominous::Closer Load (0.2ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29962
+  (0.1ms) SAVEPOINT active_record_1
29963
+ Ominous::WarningCloser Exists (0.1ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 1 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
29964
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
29965
+  (0.5ms) rollback transaction
29966
+  (0.1ms) begin transaction
29967
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29968
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29969
+  (0.0ms) SAVEPOINT active_record_1
29970
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
29971
+  (0.0ms) SAVEPOINT active_record_1
29972
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
29973
+  (0.1ms) SAVEPOINT active_record_1
29974
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29975
+  (0.1ms) rollback transaction
29976
+  (0.1ms) begin transaction
29977
+ Ominous::Warning Load (1.3ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29978
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29979
+  (0.0ms) SAVEPOINT active_record_1
29980
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
29981
+  (0.0ms) rollback transaction
29982
+  (0.0ms) begin transaction
29983
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29984
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29985
+ Ominous::Closer Exists (0.2ms) SELECT DISTINCT 1 AS one 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
29986
+  (0.1ms) rollback transaction
29987
+  (0.1ms) begin transaction
29988
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29989
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29990
+  (0.1ms) rollback transaction
29991
+  (0.0ms) begin transaction
29992
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29993
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29994
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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
29995
+  (0.1ms) rollback transaction
29996
+  (0.1ms) begin transaction
29997
+ Ominous::Warning Load (0.3ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
29998
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
29999
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30000
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
30001
+ Ominous::Closer Load (1.4ms) SELECT DISTINCT "ominous_closers".* 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
30002
+ Ominous::WarningCloser Load (0.2ms) 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
30003
+  (0.1ms) SAVEPOINT active_record_1
30004
+ SQL (0.9ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
30005
+ Ominous::WarningCloser Exists (0.1ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 2 AND "ominous_warning_closers"."id" != 298486374 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30006
+  (0.3ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-02-18 11:22:37.477554' WHERE "ominous_warning_closers"."id" = 298486374
30007
+  (0.1ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
30008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30009
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30010
+ Ominous::Closer Load (1.3ms) SELECT DISTINCT "ominous_closers".* 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
30011
+  (0.5ms) rollback transaction
30012
+  (0.0ms) begin transaction
30013
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30014
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30015
+  (0.1ms) rollback transaction
30016
+  (0.0ms) begin transaction
30017
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30018
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30019
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30020
+  (0.0ms) rollback transaction
30021
+  (0.0ms) begin transaction
30022
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30023
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30024
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
30025
+  (0.4ms) rollback transaction
30026
+  (0.1ms) begin transaction
30027
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30028
+ Processing by Ominous::WarningsController#dismiss as HTML
30029
+ Parameters: {"id"=>"1"}
30030
+ Ominous::Warning Load (0.4ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
30031
+ Rendered text template (0.0ms)
30032
+ Completed 200 OK in 80ms (Views: 77.6ms | ActiveRecord: 0.4ms)
30033
+  (0.2ms) rollback transaction
30034
+  (0.1ms) begin transaction
30035
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30036
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30037
+  (0.0ms) SAVEPOINT active_record_1
30038
+  (0.9ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2013-02-18 11:22:37.605460' WHERE "ominous_closers"."id" = 1
30039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30040
+  (0.8ms) rollback transaction
30041
+  (0.1ms) begin transaction
30042
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30043
+ Ominous::Closer Load (1.9ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30044
+  (0.0ms) SAVEPOINT active_record_1
30045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30046
+  (0.1ms) rollback transaction
30047
+  (0.1ms) begin transaction
30048
+  (0.0ms) rollback transaction
30049
+  (0.0ms) begin transaction
30050
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30051
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30052
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30053
+  (0.1ms) SELECT COUNT(*) FROM "things"
30054
+ Processing by ThingsController#create as HTML
30055
+ Parameters: {"thing"=>{"name"=>"Foo"}}
30056
+  (0.1ms) SAVEPOINT active_record_1
30057
+ SQL (1.4ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 18 Feb 2013 11:22:37 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Mon, 18 Feb 2013 11:22:37 UTC +00:00]]
30058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30059
+ Redirected to http://test.host/things/3
30060
+ Completed 302 Found in 9ms (ActiveRecord: 1.5ms)
30061
+  (0.1ms) SELECT COUNT(*) FROM "things"
30062
+  (0.4ms) rollback transaction
30063
+  (0.0ms) begin transaction
30064
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30065
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30066
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30067
+  (0.1ms) SELECT COUNT(*) FROM "things"
30068
+ Processing by ThingsController#destroy as HTML
30069
+ Parameters: {"id"=>"1"}
30070
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30071
+  (0.1ms) SAVEPOINT active_record_1
30072
+ SQL (1.1ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
30073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30074
+ Redirected to http://test.host/things
30075
+ Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
30076
+  (0.1ms) SELECT COUNT(*) FROM "things" 
30077
+  (0.7ms) rollback transaction
30078
+  (0.1ms) begin transaction
30079
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30080
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30081
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30082
+ Processing by ThingsController#edit as HTML
30083
+ Parameters: {"id"=>"1"}
30084
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30085
+ Rendered things/_form.html.erb (4.1ms)
30086
+ Completed 200 OK in 47ms (Views: 45.7ms | ActiveRecord: 0.1ms)
30087
+  (0.1ms) rollback transaction
30088
+  (0.1ms) begin transaction
30089
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30090
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30091
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30092
+ Processing by ThingsController#index as HTML
30093
+ Thing Load (0.2ms) SELECT "things".* FROM "things" 
30094
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms)
30095
+  (0.1ms) rollback transaction
30096
+  (0.0ms) begin transaction
30097
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30098
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30099
+ Ominous::Warning Load (0.3ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30100
+ Processing by ThingsController#new as HTML
30101
+ Rendered things/_form.html.erb (4.1ms)
30102
+ Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms)
30103
+  (0.1ms) rollback transaction
30104
+  (0.0ms) begin transaction
30105
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30106
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30107
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30108
+ Processing by ThingsController#show as HTML
30109
+ Parameters: {"id"=>"1"}
30110
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30111
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30112
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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
30113
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (65.5ms)
30114
+ Completed 200 OK in 82ms (Views: 79.7ms | ActiveRecord: 0.5ms)
30115
+  (0.1ms) rollback transaction
30116
+  (0.0ms) begin transaction
30117
+ Thing Load (0.4ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30118
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30119
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30120
+ Processing by ThingsController#show as HTML
30121
+ Parameters: {"id"=>"1"}
30122
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30123
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
30124
+  (0.1ms) rollback transaction
30125
+  (0.1ms) begin transaction
30126
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30127
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30128
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30129
+ Processing by ThingsController#show as HTML
30130
+ Parameters: {"id"=>"2"}
30131
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
30132
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30133
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30134
+ Ominous::Closer Load (0.6ms) SELECT DISTINCT "ominous_closers".* 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
30135
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.9ms)
30136
+ Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.8ms)
30137
+  (0.1ms) rollback transaction
30138
+  (0.0ms) begin transaction
30139
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30140
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30141
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30142
+ Processing by ThingsController#show as HTML
30143
+ Parameters: {"id"=>"1"}
30144
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30145
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
30146
+  (0.1ms) rollback transaction
30147
+  (0.0ms) begin transaction
30148
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30149
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30150
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30151
+ Processing by ThingsController#show as HTML
30152
+ Parameters: {"id"=>"2"}
30153
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
30154
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30155
+ Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)
30156
+  (0.1ms) rollback transaction
30157
+  (0.1ms) begin transaction
30158
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30159
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30160
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30161
+ Processing by ThingsController#update as HTML
30162
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
30163
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30164
+  (0.1ms) SAVEPOINT active_record_1
30165
+  (3.3ms) RELEASE SAVEPOINT active_record_1
30166
+ Redirected to http://test.host/things/1
30167
+ Completed 302 Found in 10ms (ActiveRecord: 3.4ms)
30168
+  (0.1ms) rollback transaction
30169
+  (0.1ms) begin transaction
30170
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30171
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30172
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30173
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30174
+ Processing by ThingsController#index as HTML
30175
+ Thing Load (0.1ms) SELECT "things".* FROM "things" 
30176
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms)
30177
+  (0.1ms) rollback transaction
30178
+ Connecting to database specified by database.yml
30179
+  (0.9ms) begin transaction
30180
+ Fixture Delete (1.0ms) DELETE FROM "ominous_warnings"
30181
+ Fixture Insert (0.7ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2013-02-18 11:22:49', '2013-02-18 11:22:49')
30182
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2013-02-18 11:22:49', '2013-02-18 11:22:49')
30183
+ Fixture Delete (0.5ms) DELETE FROM "ominous_warning_closers"
30184
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2013-02-18 11:22:49', '2013-02-18 11:22:49', 980190962)
30185
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2013-02-18 11:22:49', '2013-02-18 11:22:49', 298486374)
30186
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2013-02-18 11:22:49', '2013-02-18 11:22:49', 113629430)
30187
+ Fixture Delete (0.5ms) DELETE FROM "ominous_closers"
30188
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2013-02-18 11:22:49', '2013-02-18 11:22:49')
30189
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2013-02-18 11:22:49', '2013-02-18 11:22:49')
30190
+ Fixture Delete (0.5ms) DELETE FROM "things"
30191
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2013-02-18 11:22:49', '2013-02-18 11:22:49')
30192
+ Fixture Insert (0.0ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2013-02-18 11:22:49', '2013-02-18 11:22:49')
30193
+  (177.4ms) commit transaction
30194
+  (0.3ms) begin transaction
30195
+ Ominous::Warning Load (0.9ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30196
+ Ominous::Closer Load (0.3ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30197
+  (0.1ms) SAVEPOINT active_record_1
30198
+ Ominous::WarningCloser Exists (0.1ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 1 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30199
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30200
+  (0.1ms) rollback transaction
30201
+  (0.0ms) begin transaction
30202
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30203
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30204
+  (0.0ms) SAVEPOINT active_record_1
30205
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30206
+  (0.0ms) SAVEPOINT active_record_1
30207
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
30208
+  (0.0ms) SAVEPOINT active_record_1
30209
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
30210
+  (0.0ms) rollback transaction
30211
+  (0.0ms) begin transaction
30212
+ Ominous::Warning Load (2.4ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30213
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30214
+  (0.1ms) SAVEPOINT active_record_1
30215
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
30216
+  (0.0ms) rollback transaction
30217
+  (0.0ms) begin transaction
30218
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30219
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30220
+ Ominous::Closer Exists (0.2ms) SELECT DISTINCT 1 AS one 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
30221
+  (0.1ms) rollback transaction
30222
+  (0.1ms) begin transaction
30223
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30224
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30225
+  (0.1ms) rollback transaction
30226
+  (0.0ms) begin transaction
30227
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30228
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30229
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30230
+  (0.1ms) rollback transaction
30231
+  (0.0ms) begin transaction
30232
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30233
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30234
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30235
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
30236
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30237
+ Ominous::WarningCloser Load (0.3ms) 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
30238
+  (0.1ms) SAVEPOINT active_record_1
30239
+ SQL (3.3ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
30240
+ Ominous::WarningCloser Exists (0.1ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 2 AND "ominous_warning_closers"."id" != 298486374 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30241
+  (0.3ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-02-18 11:22:50.204064' WHERE "ominous_warning_closers"."id" = 298486374
30242
+  (0.1ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
30243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30244
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30245
+ Ominous::Closer Load (2.3ms) SELECT DISTINCT "ominous_closers".* 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
30246
+  (0.4ms) rollback transaction
30247
+  (0.0ms) begin transaction
30248
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30249
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30250
+  (0.1ms) rollback transaction
30251
+  (0.0ms) begin transaction
30252
+ Ominous::Warning Load (0.7ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30253
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30254
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30255
+  (0.1ms) rollback transaction
30256
+  (0.1ms) begin transaction
30257
+ Ominous::Warning Load (0.4ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30258
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30259
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
30260
+  (0.0ms) rollback transaction
30261
+  (0.1ms) begin transaction
30262
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30263
+ Processing by Ominous::WarningsController#dismiss as HTML
30264
+ Parameters: {"id"=>"1"}
30265
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
30266
+ Rendered text template (0.0ms)
30267
+ Completed 200 OK in 42ms (Views: 40.6ms | ActiveRecord: 0.1ms)
30268
+  (0.1ms) rollback transaction
30269
+  (0.1ms) begin transaction
30270
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30271
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30272
+  (0.1ms) SAVEPOINT active_record_1
30273
+  (0.8ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2013-02-18 11:22:50.295013' WHERE "ominous_closers"."id" = 1
30274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30275
+  (0.3ms) rollback transaction
30276
+  (0.1ms) begin transaction
30277
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30278
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30279
+  (0.0ms) SAVEPOINT active_record_1
30280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30281
+  (0.1ms) rollback transaction
30282
+  (0.1ms) begin transaction
30283
+  (0.1ms) rollback transaction
30284
+  (0.1ms) begin transaction
30285
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30286
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30287
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30288
+  (0.1ms) SELECT COUNT(*) FROM "things"
30289
+ Processing by ThingsController#create as HTML
30290
+ Parameters: {"thing"=>{"name"=>"Foo"}}
30291
+  (0.1ms) SAVEPOINT active_record_1
30292
+ SQL (1.5ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 18 Feb 2013 11:22:50 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Mon, 18 Feb 2013 11:22:50 UTC +00:00]]
30293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30294
+ Redirected to http://test.host/things/3
30295
+ Completed 302 Found in 9ms (ActiveRecord: 1.6ms)
30296
+  (0.1ms) SELECT COUNT(*) FROM "things"
30297
+  (0.7ms) rollback transaction
30298
+  (0.1ms) begin transaction
30299
+ Thing Load (2.6ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30300
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30301
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30302
+  (0.1ms) SELECT COUNT(*) FROM "things"
30303
+ Processing by ThingsController#destroy as HTML
30304
+ Parameters: {"id"=>"1"}
30305
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30306
+  (0.1ms) SAVEPOINT active_record_1
30307
+ SQL (0.2ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
30308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30309
+ Redirected to http://test.host/things
30310
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
30311
+  (0.1ms) SELECT COUNT(*) FROM "things" 
30312
+  (0.1ms) rollback transaction
30313
+  (0.1ms) begin transaction
30314
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30315
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30316
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30317
+ Processing by ThingsController#edit as HTML
30318
+ Parameters: {"id"=>"1"}
30319
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30320
+ Rendered things/_form.html.erb (4.3ms)
30321
+ Completed 200 OK in 48ms (Views: 46.9ms | ActiveRecord: 0.1ms)
30322
+  (0.3ms) rollback transaction
30323
+  (0.0ms) begin transaction
30324
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30325
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30326
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30327
+ Processing by ThingsController#index as HTML
30328
+ Thing Load (0.2ms) SELECT "things".* FROM "things" 
30329
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
30330
+  (0.1ms) rollback transaction
30331
+  (0.0ms) begin transaction
30332
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30333
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30334
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30335
+ Processing by ThingsController#new as HTML
30336
+ Rendered things/_form.html.erb (3.2ms)
30337
+ Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
30338
+  (0.1ms) rollback transaction
30339
+  (0.0ms) begin transaction
30340
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30341
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30342
+ Ominous::Warning Load (0.4ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30343
+ Processing by ThingsController#show as HTML
30344
+ Parameters: {"id"=>"1"}
30345
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30346
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30347
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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
30348
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (42.1ms)
30349
+ Completed 200 OK in 52ms (Views: 48.5ms | ActiveRecord: 0.5ms)
30350
+  (0.1ms) rollback transaction
30351
+  (0.1ms) begin transaction
30352
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30353
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30354
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30355
+ Processing by ThingsController#show as HTML
30356
+ Parameters: {"id"=>"1"}
30357
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30358
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms)
30359
+  (0.1ms) rollback transaction
30360
+  (0.0ms) begin transaction
30361
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30362
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30363
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30364
+ Processing by ThingsController#show as HTML
30365
+ Parameters: {"id"=>"2"}
30366
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
30367
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30368
+ Ominous::Warning Load (1.6ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30369
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30370
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.0ms)
30371
+ Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 2.0ms)
30372
+  (0.1ms) rollback transaction
30373
+  (0.0ms) begin transaction
30374
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30375
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30376
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30377
+ Processing by ThingsController#show as HTML
30378
+ Parameters: {"id"=>"1"}
30379
+ Thing Load (0.7ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30380
+ Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.7ms)
30381
+  (0.0ms) rollback transaction
30382
+  (0.0ms) begin transaction
30383
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30384
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30385
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30386
+ Processing by ThingsController#show as HTML
30387
+ Parameters: {"id"=>"2"}
30388
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
30389
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30390
+ Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 0.2ms)
30391
+  (0.1ms) rollback transaction
30392
+  (0.1ms) begin transaction
30393
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30394
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30395
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30396
+ Processing by ThingsController#update as HTML
30397
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
30398
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30399
+  (0.1ms) SAVEPOINT active_record_1
30400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30401
+ Redirected to http://test.host/things/1
30402
+ Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
30403
+  (0.1ms) rollback transaction
30404
+  (0.1ms) begin transaction
30405
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30406
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30407
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30408
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30409
+ Processing by ThingsController#index as HTML
30410
+ Thing Load (0.7ms) SELECT "things".* FROM "things" 
30411
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.7ms)
30412
+  (0.1ms) rollback transaction
30413
+ Connecting to database specified by database.yml
30414
+  (1.7ms) begin transaction
30415
+ Fixture Delete (1.6ms) DELETE FROM "ominous_warnings"
30416
+ Fixture Insert (0.9ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2013-05-01 12:44:54', '2013-05-01 12:44:54')
30417
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2013-05-01 12:44:54', '2013-05-01 12:44:54')
30418
+ Fixture Delete (0.8ms) DELETE FROM "ominous_warning_closers"
30419
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2013-05-01 12:44:54', '2013-05-01 12:44:54', 980190962)
30420
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2013-05-01 12:44:54', '2013-05-01 12:44:54', 298486374)
30421
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2013-05-01 12:44:54', '2013-05-01 12:44:54', 113629430)
30422
+ Fixture Delete (0.6ms) DELETE FROM "ominous_closers"
30423
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2013-05-01 12:44:54', '2013-05-01 12:44:54')
30424
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2013-05-01 12:44:54', '2013-05-01 12:44:54')
30425
+ Fixture Delete (0.5ms) DELETE FROM "things"
30426
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2013-05-01 12:44:54', '2013-05-01 12:44:54')
30427
+ Fixture Insert (0.2ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2013-05-01 12:44:54', '2013-05-01 12:44:54')
30428
+  (304.2ms) commit transaction
30429
+  (0.1ms) begin transaction
30430
+ Ominous::Warning Load (0.5ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30431
+ Ominous::Closer Load (0.5ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30432
+  (0.1ms) SAVEPOINT active_record_1
30433
+ Ominous::WarningCloser Exists (0.2ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 1 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30434
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30435
+  (0.1ms) rollback transaction
30436
+  (0.1ms) begin transaction
30437
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30438
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30439
+  (0.0ms) SAVEPOINT active_record_1
30440
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30441
+  (0.1ms) SAVEPOINT active_record_1
30442
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
30443
+  (0.1ms) SAVEPOINT active_record_1
30444
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
30445
+  (0.1ms) rollback transaction
30446
+  (0.0ms) begin transaction
30447
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30448
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30449
+  (0.1ms) SAVEPOINT active_record_1
30450
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
30451
+  (0.1ms) rollback transaction
30452
+  (0.1ms) begin transaction
30453
+ Ominous::Warning Load (1.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30454
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30455
+ Ominous::Closer Exists (13.6ms) SELECT DISTINCT 1 AS one 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
30456
+  (0.1ms) rollback transaction
30457
+  (0.1ms) begin transaction
30458
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30459
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30460
+  (0.1ms) rollback transaction
30461
+  (0.1ms) begin transaction
30462
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30463
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30464
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30465
+  (0.1ms) rollback transaction
30466
+  (0.1ms) begin transaction
30467
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30468
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30469
+ Ominous::Closer Load (0.3ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30470
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
30471
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30472
+ Ominous::WarningCloser Load (0.2ms) 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
30473
+  (0.1ms) SAVEPOINT active_record_1
30474
+ SQL (0.9ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
30475
+ Ominous::WarningCloser Exists (0.1ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 2 AND "ominous_warning_closers"."id" != 298486374 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30476
+  (0.7ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-05-01 12:44:55.450988' WHERE "ominous_warning_closers"."id" = 298486374
30477
+  (0.2ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
30478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30479
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30480
+ Ominous::Closer Load (0.9ms) SELECT DISTINCT "ominous_closers".* 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
30481
+  (1.4ms) rollback transaction
30482
+  (0.1ms) begin transaction
30483
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30484
+ Ominous::Closer Load (0.2ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30485
+  (0.1ms) rollback transaction
30486
+  (0.1ms) begin transaction
30487
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30488
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30489
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30490
+  (0.1ms) rollback transaction
30491
+  (0.1ms) begin transaction
30492
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30493
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30494
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
30495
+  (0.1ms) rollback transaction
30496
+  (0.1ms) begin transaction
30497
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30498
+ Processing by Ominous::WarningsController#dismiss as HTML
30499
+ Parameters: {"id"=>"1"}
30500
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
30501
+ Rendered text template (0.0ms)
30502
+ Completed 200 OK in 119ms (Views: 112.4ms | ActiveRecord: 0.2ms)
30503
+  (0.1ms) rollback transaction
30504
+  (0.1ms) begin transaction
30505
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30506
+ Ominous::Closer Load (0.5ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30507
+  (0.1ms) SAVEPOINT active_record_1
30508
+  (1.2ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2013-05-01 12:44:55.852547' WHERE "ominous_closers"."id" = 1
30509
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30510
+  (0.5ms) rollback transaction
30511
+  (0.0ms) begin transaction
30512
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30513
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30514
+  (0.0ms) SAVEPOINT active_record_1
30515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30516
+  (0.0ms) rollback transaction
30517
+  (0.1ms) begin transaction
30518
+  (0.0ms) rollback transaction
30519
+  (0.1ms) begin transaction
30520
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30521
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30522
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30523
+  (0.1ms) SELECT COUNT(*) FROM "things"
30524
+ Processing by ThingsController#create as HTML
30525
+ Parameters: {"thing"=>{"name"=>"Foo"}}
30526
+  (0.1ms) SAVEPOINT active_record_1
30527
+ SQL (1.5ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 01 May 2013 12:44:55 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Wed, 01 May 2013 12:44:55 UTC +00:00]]
30528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30529
+ Redirected to http://test.host/things/3
30530
+ Completed 302 Found in 10ms (ActiveRecord: 1.6ms)
30531
+  (0.1ms) SELECT COUNT(*) FROM "things"
30532
+  (0.6ms) rollback transaction
30533
+  (0.1ms) begin transaction
30534
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30535
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30536
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30537
+  (0.1ms) SELECT COUNT(*) FROM "things"
30538
+ Processing by ThingsController#destroy as HTML
30539
+ Parameters: {"id"=>"1"}
30540
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30541
+  (0.1ms) SAVEPOINT active_record_1
30542
+ SQL (0.9ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
30543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30544
+ Redirected to http://test.host/things
30545
+ Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
30546
+  (0.1ms) SELECT COUNT(*) FROM "things" 
30547
+  (1.4ms) rollback transaction
30548
+  (0.1ms) begin transaction
30549
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30550
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30551
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30552
+ Processing by ThingsController#edit as HTML
30553
+ Parameters: {"id"=>"1"}
30554
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30555
+ Rendered things/_form.html.erb (6.1ms)
30556
+ Completed 200 OK in 49ms (Views: 46.8ms | ActiveRecord: 0.1ms)
30557
+  (0.1ms) rollback transaction
30558
+  (0.0ms) begin transaction
30559
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30560
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30561
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30562
+ Processing by ThingsController#index as HTML
30563
+ Thing Load (0.1ms) SELECT "things".* FROM "things" 
30564
+ Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.1ms)
30565
+  (0.1ms) rollback transaction
30566
+  (0.1ms) begin transaction
30567
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30568
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30569
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30570
+ Processing by ThingsController#new as HTML
30571
+ Rendered things/_form.html.erb (2.8ms)
30572
+ Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms)
30573
+  (0.1ms) rollback transaction
30574
+  (0.0ms) begin transaction
30575
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30576
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30577
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30578
+ Processing by ThingsController#show as HTML
30579
+ Parameters: {"id"=>"1"}
30580
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30581
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30582
+ Ominous::Closer Load (0.4ms) SELECT DISTINCT "ominous_closers".* 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
30583
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (64.5ms)
30584
+ Completed 200 OK in 74ms (Views: 72.0ms | ActiveRecord: 0.7ms)
30585
+  (0.1ms) rollback transaction
30586
+  (0.0ms) begin transaction
30587
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30588
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30589
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30590
+ Processing by ThingsController#show as HTML
30591
+ Parameters: {"id"=>"1"}
30592
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30593
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.1ms)
30594
+  (0.1ms) rollback transaction
30595
+  (0.0ms) begin transaction
30596
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30597
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30598
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30599
+ Processing by ThingsController#show as HTML
30600
+ Parameters: {"id"=>"2"}
30601
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
30602
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30603
+ Ominous::Warning Load (1.5ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30604
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30605
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.7ms)
30606
+ Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 2.0ms)
30607
+  (0.1ms) rollback transaction
30608
+  (0.1ms) begin transaction
30609
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30610
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30611
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30612
+ Processing by ThingsController#show as HTML
30613
+ Parameters: {"id"=>"1"}
30614
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30615
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
30616
+  (0.1ms) rollback transaction
30617
+  (0.0ms) begin transaction
30618
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30619
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30620
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30621
+ Processing by ThingsController#show as HTML
30622
+ Parameters: {"id"=>"2"}
30623
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
30624
+ Ominous::Warning Exists (1.9ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30625
+ Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 1.9ms)
30626
+  (0.1ms) rollback transaction
30627
+  (0.1ms) begin transaction
30628
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30629
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30630
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30631
+ Processing by ThingsController#update as HTML
30632
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
30633
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30634
+  (0.1ms) SAVEPOINT active_record_1
30635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30636
+ Redirected to http://test.host/things/1
30637
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
30638
+  (0.1ms) rollback transaction
30639
+  (0.1ms) begin transaction
30640
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30641
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30642
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30643
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30644
+ Processing by ThingsController#index as HTML
30645
+ Thing Load (2.4ms) SELECT "things".* FROM "things" 
30646
+ Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 2.4ms)
30647
+  (0.1ms) rollback transaction
30648
+ Connecting to database specified by database.yml
30649
+  (6.0ms) begin transaction
30650
+ Fixture Delete (3.5ms) DELETE FROM "ominous_warnings"
30651
+ Fixture Insert (5.5ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2013-05-01 12:50:41', '2013-05-01 12:50:41')
30652
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2013-05-01 12:50:41', '2013-05-01 12:50:41')
30653
+ Fixture Delete (0.6ms) DELETE FROM "ominous_warning_closers"
30654
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2013-05-01 12:50:41', '2013-05-01 12:50:41', 980190962)
30655
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2013-05-01 12:50:41', '2013-05-01 12:50:41', 298486374)
30656
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2013-05-01 12:50:41', '2013-05-01 12:50:41', 113629430)
30657
+ Fixture Delete (1.5ms) DELETE FROM "ominous_closers"
30658
+ Fixture Insert (0.2ms) INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2013-05-01 12:50:41', '2013-05-01 12:50:41')
30659
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2013-05-01 12:50:41', '2013-05-01 12:50:41')
30660
+ Fixture Delete (0.6ms) DELETE FROM "things"
30661
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2013-05-01 12:50:41', '2013-05-01 12:50:41')
30662
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2013-05-01 12:50:41', '2013-05-01 12:50:41')
30663
+  (186.4ms) commit transaction
30664
+  (0.1ms) begin transaction
30665
+ Ominous::Warning Load (0.3ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30666
+ Ominous::Closer Load (0.2ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30667
+  (0.1ms) SAVEPOINT active_record_1
30668
+ Ominous::WarningCloser Exists (0.3ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 1 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30669
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30670
+  (0.1ms) rollback transaction
30671
+  (0.1ms) begin transaction
30672
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30673
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30674
+  (0.0ms) SAVEPOINT active_record_1
30675
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30676
+  (0.1ms) SAVEPOINT active_record_1
30677
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30678
+  (0.0ms) SAVEPOINT active_record_1
30679
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30680
+  (0.1ms) rollback transaction
30681
+  (0.1ms) begin transaction
30682
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30683
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30684
+  (0.1ms) SAVEPOINT active_record_1
30685
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30686
+  (0.1ms) rollback transaction
30687
+  (0.1ms) begin transaction
30688
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30689
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30690
+ Ominous::Closer Exists (0.3ms) SELECT DISTINCT 1 AS one 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
30691
+  (0.1ms) rollback transaction
30692
+  (5.2ms) begin transaction
30693
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30694
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30695
+  (0.1ms) rollback transaction
30696
+  (0.1ms) begin transaction
30697
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30698
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30699
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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
30700
+  (0.1ms) rollback transaction
30701
+  (0.1ms) begin transaction
30702
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30703
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30704
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30705
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
30706
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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
30707
+ Ominous::WarningCloser Load (3.1ms) 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
30708
+  (0.1ms) SAVEPOINT active_record_1
30709
+ SQL (2.1ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
30710
+ Ominous::WarningCloser Exists (5.1ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 2 AND "ominous_warning_closers"."id" != 298486374 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30711
+  (0.3ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-05-01 12:50:42.019467' WHERE "ominous_warning_closers"."id" = 298486374
30712
+  (5.3ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
30713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30714
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30715
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30716
+  (0.6ms) rollback transaction
30717
+  (0.1ms) begin transaction
30718
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30719
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30720
+  (0.1ms) rollback transaction
30721
+  (0.1ms) begin transaction
30722
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30723
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30724
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30725
+  (0.1ms) rollback transaction
30726
+  (0.0ms) begin transaction
30727
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30728
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30729
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
30730
+  (0.1ms) rollback transaction
30731
+  (0.1ms) begin transaction
30732
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30733
+ Processing by Ominous::WarningsController#dismiss as HTML
30734
+ Parameters: {"id"=>"1"}
30735
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
30736
+ Rendered text template (0.0ms)
30737
+ Completed 200 OK in 89ms (Views: 84.1ms | ActiveRecord: 0.1ms)
30738
+  (0.1ms) rollback transaction
30739
+  (0.1ms) begin transaction
30740
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30741
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30742
+  (0.1ms) SAVEPOINT active_record_1
30743
+  (1.9ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2013-05-01 12:50:42.255525' WHERE "ominous_closers"."id" = 1
30744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30745
+  (7.2ms) rollback transaction
30746
+  (0.1ms) begin transaction
30747
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30748
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30749
+  (0.1ms) SAVEPOINT active_record_1
30750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30751
+  (0.0ms) rollback transaction
30752
+  (0.1ms) begin transaction
30753
+  (0.1ms) rollback transaction
30754
+  (0.1ms) begin transaction
30755
+ Thing Load (2.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30756
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30757
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30758
+  (0.1ms) SELECT COUNT(*) FROM "things"
30759
+ Processing by ThingsController#create as HTML
30760
+ Parameters: {"thing"=>{"name"=>"Foo"}}
30761
+  (0.1ms) SAVEPOINT active_record_1
30762
+ SQL (0.5ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 01 May 2013 12:50:42 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Wed, 01 May 2013 12:50:42 UTC +00:00]]
30763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30764
+ Redirected to http://test.host/things/3
30765
+ Completed 302 Found in 29ms (ActiveRecord: 0.7ms)
30766
+  (0.1ms) SELECT COUNT(*) FROM "things"
30767
+  (5.5ms) rollback transaction
30768
+  (0.1ms) begin transaction
30769
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30770
+ Thing Load (7.4ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30771
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30772
+  (0.3ms) SELECT COUNT(*) FROM "things"
30773
+ Processing by ThingsController#destroy as HTML
30774
+ Parameters: {"id"=>"1"}
30775
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30776
+  (0.1ms) SAVEPOINT active_record_1
30777
+ SQL (8.4ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
30778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30779
+ Redirected to http://test.host/things
30780
+ Completed 302 Found in 29ms (ActiveRecord: 8.6ms)
30781
+  (0.1ms) SELECT COUNT(*) FROM "things" 
30782
+  (0.3ms) rollback transaction
30783
+  (0.1ms) begin transaction
30784
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30785
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30786
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30787
+ Processing by ThingsController#edit as HTML
30788
+ Parameters: {"id"=>"1"}
30789
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30790
+ Rendered things/_form.html.erb (52.3ms)
30791
+ Completed 200 OK in 208ms (Views: 206.3ms | ActiveRecord: 0.1ms)
30792
+  (0.2ms) rollback transaction
30793
+  (0.1ms) begin transaction
30794
+ Thing Load (13.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30795
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30796
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30797
+ Processing by ThingsController#index as HTML
30798
+ Thing Load (0.2ms) SELECT "things".* FROM "things" 
30799
+ Completed 200 OK in 44ms (Views: 38.2ms | ActiveRecord: 0.2ms)
30800
+  (0.1ms) rollback transaction
30801
+  (0.1ms) begin transaction
30802
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30803
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30804
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30805
+ Processing by ThingsController#new as HTML
30806
+ Rendered things/_form.html.erb (21.7ms)
30807
+ Completed 200 OK in 31ms (Views: 25.8ms | ActiveRecord: 0.0ms)
30808
+  (0.1ms) rollback transaction
30809
+  (0.1ms) begin transaction
30810
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30811
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30812
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30813
+ Processing by ThingsController#show as HTML
30814
+ Parameters: {"id"=>"1"}
30815
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30816
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30817
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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
30818
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (149.3ms)
30819
+ Completed 200 OK in 187ms (Views: 185.1ms | ActiveRecord: 0.6ms)
30820
+  (0.1ms) rollback transaction
30821
+  (0.1ms) begin transaction
30822
+ Thing Load (7.8ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30823
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30824
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30825
+ Processing by ThingsController#show as HTML
30826
+ Parameters: {"id"=>"1"}
30827
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30828
+ Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.1ms)
30829
+  (0.1ms) rollback transaction
30830
+  (0.1ms) begin transaction
30831
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30832
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30833
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30834
+ Processing by ThingsController#show as HTML
30835
+ Parameters: {"id"=>"2"}
30836
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
30837
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30838
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30839
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30840
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (10.1ms)
30841
+ Completed 200 OK in 41ms (Views: 31.9ms | ActiveRecord: 0.6ms)
30842
+  (0.1ms) rollback transaction
30843
+  (0.1ms) begin transaction
30844
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30845
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30846
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30847
+ Processing by ThingsController#show as HTML
30848
+ Parameters: {"id"=>"1"}
30849
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30850
+ Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.1ms)
30851
+  (0.1ms) rollback transaction
30852
+  (0.0ms) begin transaction
30853
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30854
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30855
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30856
+ Processing by ThingsController#show as HTML
30857
+ Parameters: {"id"=>"2"}
30858
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
30859
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30860
+ Completed 200 OK in 18ms (Views: 7.6ms | ActiveRecord: 0.2ms)
30861
+  (0.1ms) rollback transaction
30862
+  (0.1ms) begin transaction
30863
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30864
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30865
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30866
+ Processing by ThingsController#update as HTML
30867
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
30868
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
30869
+  (0.1ms) SAVEPOINT active_record_1
30870
+  (11.9ms) RELEASE SAVEPOINT active_record_1
30871
+ Redirected to http://test.host/things/1
30872
+ Completed 302 Found in 17ms (ActiveRecord: 12.1ms)
30873
+  (0.1ms) rollback transaction
30874
+  (0.1ms) begin transaction
30875
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30876
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30877
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30878
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30879
+ Processing by ThingsController#index as HTML
30880
+ Thing Load (0.2ms) SELECT "things".* FROM "things" 
30881
+ Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.2ms)
30882
+  (0.2ms) rollback transaction
30883
+ Connecting to database specified by database.yml
30884
+  (2.0ms) begin transaction
30885
+ Fixture Delete (1.3ms) DELETE FROM "ominous_warnings"
30886
+ Fixture Insert (1.0ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2013-05-01 14:17:34', '2013-05-01 14:17:34')
30887
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2013-05-01 14:17:34', '2013-05-01 14:17:34')
30888
+ Fixture Delete (0.6ms) DELETE FROM "ominous_warning_closers"
30889
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2013-05-01 14:17:34', '2013-05-01 14:17:34', 980190962)
30890
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2013-05-01 14:17:34', '2013-05-01 14:17:34', 298486374)
30891
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2013-05-01 14:17:34', '2013-05-01 14:17:34', 113629430)
30892
+ Fixture Delete (0.5ms) DELETE FROM "ominous_closers"
30893
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2013-05-01 14:17:34', '2013-05-01 14:17:34')
30894
+ Fixture Insert (0.1ms) INSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2013-05-01 14:17:34', '2013-05-01 14:17:34')
30895
+ Fixture Delete (0.5ms) DELETE FROM "things"
30896
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2013-05-01 14:17:34', '2013-05-01 14:17:34')
30897
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2013-05-01 14:17:34', '2013-05-01 14:17:34')
30898
+  (195.1ms) commit transaction
30899
+  (0.1ms) begin transaction
30900
+ Ominous::Warning Load (1.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30901
+ Ominous::Closer Load (0.3ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30902
+  (0.1ms) SAVEPOINT active_record_1
30903
+ Ominous::WarningCloser Exists (0.2ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 1 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30904
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30905
+  (0.1ms) rollback transaction
30906
+  (0.1ms) begin transaction
30907
+ Ominous::Warning Load (0.7ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30908
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30909
+  (0.1ms) SAVEPOINT active_record_1
30910
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30911
+  (0.0ms) SAVEPOINT active_record_1
30912
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
30913
+  (0.0ms) SAVEPOINT active_record_1
30914
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
30915
+  (0.1ms) rollback transaction
30916
+  (0.0ms) begin transaction
30917
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30918
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30919
+  (0.1ms) SAVEPOINT active_record_1
30920
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
30921
+  (0.0ms) rollback transaction
30922
+  (0.0ms) begin transaction
30923
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30924
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30925
+ Ominous::Closer Exists (0.3ms) SELECT DISTINCT 1 AS one 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
30926
+  (0.1ms) rollback transaction
30927
+  (0.1ms) begin transaction
30928
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30929
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30930
+  (0.1ms) rollback transaction
30931
+  (0.0ms) begin transaction
30932
+ Ominous::Warning Load (1.5ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30933
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30934
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30935
+  (0.1ms) rollback transaction
30936
+  (0.0ms) begin transaction
30937
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30938
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30939
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30940
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
30941
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30942
+ Ominous::WarningCloser Load (0.2ms) 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
30943
+  (0.1ms) SAVEPOINT active_record_1
30944
+ SQL (0.9ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
30945
+ Ominous::WarningCloser Exists (0.1ms) SELECT 1 AS one FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."closer_id" = 2 AND "ominous_warning_closers"."id" != 298486374 AND "ominous_warning_closers"."warning_id" = 1) LIMIT 1
30946
+  (0.3ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-05-01 14:17:34.656850' WHERE "ominous_warning_closers"."id" = 298486374
30947
+  (0.1ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
30948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30949
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30950
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
30951
+  (0.6ms) rollback transaction
30952
+  (0.0ms) begin transaction
30953
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30954
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30955
+  (0.1ms) rollback transaction
30956
+  (0.0ms) begin transaction
30957
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30958
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30959
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
30960
+  (0.1ms) rollback transaction
30961
+  (0.0ms) begin transaction
30962
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30963
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
30964
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
30965
+  (0.1ms) rollback transaction
30966
+  (0.1ms) begin transaction
30967
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30968
+ Processing by Ominous::WarningsController#dismiss as HTML
30969
+ Parameters: {"id"=>"1"}
30970
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
30971
+ Rendered text template (0.0ms)
30972
+ Completed 200 OK in 38ms (Views: 35.5ms | ActiveRecord: 0.1ms)
30973
+  (0.1ms) rollback transaction
30974
+  (0.1ms) begin transaction
30975
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30976
+ Ominous::Closer Load (0.3ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30977
+  (0.1ms) SAVEPOINT active_record_1
30978
+  (1.0ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2013-05-01 14:17:34.754677' WHERE "ominous_closers"."id" = 1
30979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30980
+  (0.4ms) rollback transaction
30981
+  (0.0ms) begin transaction
30982
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30983
+ Ominous::Closer Load (0.5ms) SELECT DISTINCT "ominous_closers".* 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 LIMIT 1
30984
+  (0.0ms) SAVEPOINT active_record_1
30985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
30986
+  (0.0ms) rollback transaction
30987
+  (0.1ms) begin transaction
30988
+  (0.1ms) rollback transaction
30989
+  (0.1ms) begin transaction
30990
+ Thing Load (3.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
30991
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
30992
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
30993
+  (0.1ms) SELECT COUNT(*) FROM "things"
30994
+ Processing by ThingsController#create as HTML
30995
+ Parameters: {"thing"=>{"name"=>"Foo"}}
30996
+  (0.1ms) SAVEPOINT active_record_1
30997
+ SQL (1.9ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 01 May 2013 14:17:34 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Wed, 01 May 2013 14:17:34 UTC +00:00]]
30998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30999
+ Redirected to http://test.host/things/3
31000
+ Completed 302 Found in 9ms (ActiveRecord: 2.0ms)
31001
+  (0.2ms) SELECT COUNT(*) FROM "things"
31002
+  (0.5ms) rollback transaction
31003
+  (0.0ms) begin transaction
31004
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31005
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31006
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31007
+  (0.1ms) SELECT COUNT(*) FROM "things"
31008
+ Processing by ThingsController#destroy as HTML
31009
+ Parameters: {"id"=>"1"}
31010
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31011
+  (0.4ms) SAVEPOINT active_record_1
31012
+ SQL (0.9ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
31013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31014
+ Redirected to http://test.host/things
31015
+ Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
31016
+  (0.1ms) SELECT COUNT(*) FROM "things" 
31017
+  (0.5ms) rollback transaction
31018
+  (0.0ms) begin transaction
31019
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31020
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31021
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31022
+ Processing by ThingsController#edit as HTML
31023
+ Parameters: {"id"=>"1"}
31024
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31025
+ Rendered things/_form.html.erb (5.2ms)
31026
+ Completed 200 OK in 43ms (Views: 41.4ms | ActiveRecord: 0.1ms)
31027
+  (0.1ms) rollback transaction
31028
+  (0.1ms) begin transaction
31029
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31030
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31031
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31032
+ Processing by ThingsController#index as HTML
31033
+ Thing Load (0.2ms) SELECT "things".* FROM "things" 
31034
+ Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.2ms)
31035
+  (0.1ms) rollback transaction
31036
+  (0.2ms) begin transaction
31037
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31038
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31039
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31040
+ Processing by ThingsController#new as HTML
31041
+ Rendered things/_form.html.erb (2.5ms)
31042
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
31043
+  (0.1ms) rollback transaction
31044
+  (0.0ms) begin transaction
31045
+ Thing Load (1.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31046
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31047
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31048
+ Processing by ThingsController#show as HTML
31049
+ Parameters: {"id"=>"1"}
31050
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31051
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31052
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
31053
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (42.4ms)
31054
+ Completed 200 OK in 50ms (Views: 47.9ms | ActiveRecord: 0.5ms)
31055
+  (0.3ms) rollback transaction
31056
+  (0.1ms) begin transaction
31057
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31058
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31059
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31060
+ Processing by ThingsController#show as HTML
31061
+ Parameters: {"id"=>"1"}
31062
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31063
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
31064
+  (0.1ms) rollback transaction
31065
+  (0.0ms) begin transaction
31066
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31067
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31068
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31069
+ Processing by ThingsController#show as HTML
31070
+ Parameters: {"id"=>"2"}
31071
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
31072
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31073
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31074
+ Ominous::Closer Load (0.2ms) SELECT DISTINCT "ominous_closers".* 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
31075
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (4.7ms)
31076
+ Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.5ms)
31077
+  (0.1ms) rollback transaction
31078
+  (0.1ms) begin transaction
31079
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31080
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31081
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31082
+ Processing by ThingsController#show as HTML
31083
+ Parameters: {"id"=>"1"}
31084
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31085
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
31086
+  (0.1ms) rollback transaction
31087
+  (0.0ms) begin transaction
31088
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31089
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31090
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31091
+ Processing by ThingsController#show as HTML
31092
+ Parameters: {"id"=>"2"}
31093
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
31094
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31095
+ Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)
31096
+  (0.1ms) rollback transaction
31097
+  (0.1ms) begin transaction
31098
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31099
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31100
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31101
+ Processing by ThingsController#update as HTML
31102
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
31103
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31104
+  (0.1ms) SAVEPOINT active_record_1
31105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31106
+ Redirected to http://test.host/things/1
31107
+ Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
31108
+  (0.1ms) rollback transaction
31109
+  (0.0ms) begin transaction
31110
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31111
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31112
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31113
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31114
+ Processing by ThingsController#index as HTML
31115
+ Thing Load (0.1ms) SELECT "things".* FROM "things" 
31116
+ Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.1ms)
31117
+  (0.1ms) rollback transaction