ominous 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -31350,3 +31350,1214 @@ Processing by ThingsController#index as HTML
31350
31350
  Thing Load (0.1ms) SELECT "things".* FROM "things" 
31351
31351
  Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
31352
31352
   (0.1ms) rollback transaction
31353
+ Connecting to database specified by database.yml
31354
+  (3.8ms) begin transaction
31355
+ Fixture Delete (2.9ms) DELETE FROM "ominous_warnings"
31356
+ 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-07-29 13:34:55', '2013-07-29 13:34:55')
31357
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2013-07-29 13:34:55', '2013-07-29 13:34:55')
31358
+ Fixture Delete (0.6ms) DELETE FROM "ominous_warning_closers"
31359
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2013-07-29 13:34:55', '2013-07-29 13:34:55', 980190962)
31360
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2013-07-29 13:34:55', '2013-07-29 13:34:55', 298486374)
31361
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2013-07-29 13:34:55', '2013-07-29 13:34:55', 113629430)
31362
+ Fixture Delete (0.6ms) DELETE FROM "ominous_closers"
31363
+ 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-07-29 13:34:55', '2013-07-29 13:34:55')
31364
+ 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-07-29 13:34:55', '2013-07-29 13:34:55')
31365
+ Fixture Delete (0.7ms) DELETE FROM "things"
31366
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2013-07-29 13:34:55', '2013-07-29 13:34:55')
31367
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2013-07-29 13:34:55', '2013-07-29 13:34:55')
31368
+  (180.0ms) commit transaction
31369
+  (0.1ms) begin transaction
31370
+ Ominous::Warning Load (7.9ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31371
+ Ominous::Closer Load (0.4ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31372
+  (0.1ms) SAVEPOINT active_record_1
31373
+ 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
31374
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31375
+  (0.1ms) rollback transaction
31376
+  (0.0ms) begin transaction
31377
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31378
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31379
+  (0.0ms) SAVEPOINT active_record_1
31380
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31381
+  (0.0ms) SAVEPOINT active_record_1
31382
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31383
+  (0.0ms) SAVEPOINT active_record_1
31384
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31385
+  (0.0ms) rollback transaction
31386
+  (0.0ms) begin transaction
31387
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31388
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31389
+  (0.0ms) SAVEPOINT active_record_1
31390
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
31391
+  (0.0ms) rollback transaction
31392
+  (0.0ms) begin transaction
31393
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31394
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31395
+ Ominous::Closer Exists (0.5ms) 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
31396
+  (0.1ms) rollback transaction
31397
+  (0.0ms) begin transaction
31398
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31399
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31400
+  (0.1ms) rollback transaction
31401
+  (0.0ms) begin transaction
31402
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31403
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31404
+ 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
31405
+  (0.1ms) rollback transaction
31406
+  (0.0ms) begin transaction
31407
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31408
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31409
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31410
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
31411
+ 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
31412
+ 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
31413
+  (0.0ms) SAVEPOINT active_record_1
31414
+ SQL (1.1ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
31415
+ 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
31416
+  (0.5ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-07-29 13:34:55.697425' WHERE "ominous_warning_closers"."id" = 298486374
31417
+  (0.1ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
31418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31419
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31420
+ 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
31421
+  (0.8ms) rollback transaction
31422
+  (0.4ms) begin transaction
31423
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31424
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31425
+  (0.1ms) rollback transaction
31426
+  (0.1ms) begin transaction
31427
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31428
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31429
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31430
+  (0.0ms) rollback transaction
31431
+  (0.1ms) begin transaction
31432
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31433
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31434
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
31435
+  (0.0ms) rollback transaction
31436
+  (0.1ms) begin transaction
31437
+ Ominous::Warning Load (1.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31438
+ Processing by Ominous::WarningsController#dismiss as HTML
31439
+ Parameters: {"id"=>"1"}
31440
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
31441
+ Rendered text template (0.0ms)
31442
+ Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.1ms)
31443
+  (0.1ms) rollback transaction
31444
+  (0.1ms) begin transaction
31445
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31446
+ 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
31447
+  (0.0ms) SAVEPOINT active_record_1
31448
+  (1.0ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2013-07-29 13:34:55.795887' WHERE "ominous_closers"."id" = 1
31449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31450
+  (0.6ms) rollback transaction
31451
+  (0.0ms) begin transaction
31452
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31453
+ 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
31454
+  (0.0ms) SAVEPOINT active_record_1
31455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31456
+  (0.0ms) rollback transaction
31457
+  (0.1ms) begin transaction
31458
+  (0.0ms) rollback transaction
31459
+  (0.1ms) begin transaction
31460
+ Thing Load (0.4ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31461
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31462
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31463
+  (0.1ms) SELECT COUNT(*) FROM "things"
31464
+ Processing by ThingsController#create as HTML
31465
+ Parameters: {"thing"=>{"name"=>"Foo"}}
31466
+  (0.1ms) SAVEPOINT active_record_1
31467
+ SQL (1.7ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 29 Jul 2013 13:34:55 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Mon, 29 Jul 2013 13:34:55 UTC +00:00]]
31468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31469
+ Redirected to http://test.host/things/3
31470
+ Completed 302 Found in 8ms (ActiveRecord: 1.8ms)
31471
+  (0.1ms) SELECT COUNT(*) FROM "things"
31472
+  (0.7ms) rollback transaction
31473
+  (0.0ms) begin transaction
31474
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31475
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31476
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31477
+  (0.1ms) SELECT COUNT(*) FROM "things"
31478
+ Processing by ThingsController#destroy as HTML
31479
+ Parameters: {"id"=>"1"}
31480
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31481
+  (0.1ms) SAVEPOINT active_record_1
31482
+ SQL (1.2ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
31483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31484
+ Redirected to http://test.host/things
31485
+ Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
31486
+  (0.3ms) SELECT COUNT(*) FROM "things" 
31487
+  (2.1ms) rollback transaction
31488
+  (0.0ms) begin transaction
31489
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31490
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31491
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31492
+ Processing by ThingsController#edit as HTML
31493
+ Parameters: {"id"=>"1"}
31494
+ Thing Load (1.6ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31495
+ Rendered things/_form.html.erb (2.7ms)
31496
+ Completed 200 OK in 35ms (Views: 32.0ms | ActiveRecord: 1.6ms)
31497
+  (0.3ms) rollback transaction
31498
+  (0.0ms) begin transaction
31499
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31500
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31501
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31502
+ Processing by ThingsController#index as HTML
31503
+ Thing Load (0.1ms) SELECT "things".* FROM "things" 
31504
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
31505
+  (0.1ms) rollback transaction
31506
+  (0.1ms) begin transaction
31507
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31508
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31509
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31510
+ Processing by ThingsController#new as HTML
31511
+ Rendered things/_form.html.erb (1.6ms)
31512
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
31513
+  (0.1ms) rollback transaction
31514
+  (0.0ms) begin transaction
31515
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31516
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31517
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31518
+ Processing by ThingsController#show as HTML
31519
+ Parameters: {"id"=>"1"}
31520
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31521
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31522
+ 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
31523
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (30.8ms)
31524
+ Completed 200 OK in 40ms (Views: 36.2ms | ActiveRecord: 0.5ms)
31525
+  (0.1ms) rollback transaction
31526
+  (0.0ms) begin transaction
31527
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31528
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31529
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31530
+ Processing by ThingsController#show as HTML
31531
+ Parameters: {"id"=>"1"}
31532
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31533
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
31534
+  (0.1ms) rollback transaction
31535
+  (0.0ms) begin transaction
31536
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31537
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31538
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31539
+ Processing by ThingsController#show as HTML
31540
+ Parameters: {"id"=>"2"}
31541
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
31542
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31543
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31544
+ 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
31545
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (1.7ms)
31546
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.5ms)
31547
+  (0.2ms) rollback transaction
31548
+  (0.0ms) begin transaction
31549
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31550
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31551
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31552
+ Processing by ThingsController#show as HTML
31553
+ Parameters: {"id"=>"1"}
31554
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31555
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
31556
+  (0.2ms) rollback transaction
31557
+  (0.1ms) begin transaction
31558
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31559
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31560
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31561
+ Processing by ThingsController#show as HTML
31562
+ Parameters: {"id"=>"2"}
31563
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
31564
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31565
+ Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.2ms)
31566
+  (0.1ms) rollback transaction
31567
+  (0.2ms) begin transaction
31568
+ Thing Load (0.4ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31569
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31570
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31571
+ Processing by ThingsController#update as HTML
31572
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
31573
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31574
+  (0.1ms) SAVEPOINT active_record_1
31575
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31576
+ Redirected to http://test.host/things/1
31577
+ Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
31578
+  (0.1ms) rollback transaction
31579
+  (0.0ms) begin transaction
31580
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31581
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31582
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31583
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31584
+ Processing by ThingsController#index as HTML
31585
+ Thing Load (0.2ms) SELECT "things".* FROM "things" 
31586
+ Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.2ms)
31587
+  (0.1ms) rollback transaction
31588
+ Connecting to database specified by database.yml
31589
+  (6.1ms) begin transaction
31590
+ Fixture Delete (4.9ms) DELETE FROM "ominous_warnings"
31591
+ Fixture Insert (3.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 09:08:12', '2014-08-26 09:08:12')
31592
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 09:08:12', '2014-08-26 09:08:12')
31593
+ Fixture Delete (0.2ms) DELETE FROM "ominous_warning_closers"
31594
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 09:08:12', '2014-08-26 09:08:12', 980190962)
31595
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 09:08:12', '2014-08-26 09:08:12', 298486374)
31596
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 09:08:12', '2014-08-26 09:08:12', 113629430)
31597
+ Fixture Delete (0.8ms) DELETE FROM "ominous_closers"
31598
+ 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', '2014-08-26 09:08:12', '2014-08-26 09:08:12')
31599
+ 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', '2014-08-26 09:08:12', '2014-08-26 09:08:12')
31600
+ Fixture Delete (0.6ms) DELETE FROM "things"
31601
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 09:08:12', '2014-08-26 09:08:12')
31602
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 09:08:12', '2014-08-26 09:08:12')
31603
+  (173.3ms) commit transaction
31604
+  (0.1ms) begin transaction
31605
+ Ominous::Warning Load (6.7ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31606
+ Ominous::Closer Load (0.2ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31607
+  (0.1ms) SAVEPOINT active_record_1
31608
+ 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
31609
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31610
+  (0.1ms) rollback transaction
31611
+  (0.0ms) begin transaction
31612
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31613
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31614
+  (0.1ms) SAVEPOINT active_record_1
31615
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31616
+  (0.0ms) SAVEPOINT active_record_1
31617
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31618
+  (0.0ms) SAVEPOINT active_record_1
31619
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31620
+  (0.1ms) rollback transaction
31621
+  (0.0ms) begin transaction
31622
+ Ominous::Warning Load (0.5ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31623
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31624
+  (0.0ms) SAVEPOINT active_record_1
31625
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31626
+  (0.1ms) rollback transaction
31627
+  (0.0ms) begin transaction
31628
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31629
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31630
+ 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
31631
+  (0.1ms) rollback transaction
31632
+  (0.1ms) begin transaction
31633
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31634
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31635
+  (0.1ms) rollback transaction
31636
+  (0.0ms) begin transaction
31637
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31638
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31639
+ 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 AND "ominous_closers"."id" = 1 ORDER BY position LIMIT 1
31640
+  (0.1ms) rollback transaction
31641
+  (0.1ms) begin transaction
31642
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31643
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31644
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31645
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
31646
+ 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
31647
+ 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
31648
+  (0.0ms) SAVEPOINT active_record_1
31649
+ SQL (1.3ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
31650
+ 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
31651
+  (0.6ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 09:08:12.969737' WHERE "ominous_warning_closers"."id" = 298486374
31652
+  (0.2ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
31653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31654
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31655
+ 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
31656
+  (0.9ms) rollback transaction
31657
+  (0.0ms) begin transaction
31658
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31659
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31660
+  (0.0ms) rollback transaction
31661
+  (0.0ms) begin transaction
31662
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31663
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31664
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31665
+  (0.0ms) rollback transaction
31666
+  (0.0ms) begin transaction
31667
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31668
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31669
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
31670
+  (0.0ms) rollback transaction
31671
+  (0.1ms) begin transaction
31672
+ Ominous::Warning Load (0.3ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31673
+ Processing by Ominous::WarningsController#dismiss as HTML
31674
+ Parameters: {"id"=>"1"}
31675
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
31676
+ Rendered text template (0.0ms)
31677
+ Completed 200 OK in 37ms (Views: 35.2ms | ActiveRecord: 0.1ms)
31678
+  (0.1ms) rollback transaction
31679
+  (0.1ms) begin transaction
31680
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31681
+ 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
31682
+  (0.1ms) SAVEPOINT active_record_1
31683
+  (1.2ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 09:08:13.083576' WHERE "ominous_closers"."id" = 1
31684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31685
+  (0.6ms) rollback transaction
31686
+  (0.1ms) begin transaction
31687
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31688
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
31689
+  (0.1ms) SAVEPOINT active_record_1
31690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31691
+  (0.1ms) rollback transaction
31692
+  (0.1ms) begin transaction
31693
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31694
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
31695
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 2]]
31696
+  (0.1ms) rollback transaction
31697
+  (0.0ms) begin transaction
31698
+ Ominous::Warning Load (26.5ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31699
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
31700
+  (0.1ms) rollback transaction
31701
+  (0.0ms) begin transaction
31702
+  (0.0ms) rollback transaction
31703
+  (0.0ms) begin transaction
31704
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31705
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31706
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31707
+  (0.1ms) SELECT COUNT(*) FROM "things" 
31708
+ Processing by ThingsController#create as HTML
31709
+ Parameters: {"thing"=>{"name"=>"Foo"}}
31710
+  (0.1ms) SAVEPOINT active_record_1
31711
+ SQL (1.8ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Aug 2014 09:08:13 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 09:08:13 UTC +00:00]]
31712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31713
+ Redirected to http://test.host/things/3
31714
+ Completed 302 Found in 8ms (ActiveRecord: 1.9ms)
31715
+  (0.1ms) SELECT COUNT(*) FROM "things" 
31716
+  (0.8ms) rollback transaction
31717
+  (0.0ms) begin transaction
31718
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31719
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31720
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31721
+  (0.1ms) SELECT COUNT(*) FROM "things" 
31722
+ Processing by ThingsController#destroy as HTML
31723
+ Parameters: {"id"=>"1"}
31724
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31725
+  (0.0ms) SAVEPOINT active_record_1
31726
+ SQL (3.9ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
31727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31728
+ Redirected to http://test.host/things
31729
+ Completed 302 Found in 11ms (ActiveRecord: 4.1ms)
31730
+  (0.1ms) SELECT COUNT(*) FROM "things"
31731
+  (1.0ms) rollback transaction
31732
+  (0.1ms) begin transaction
31733
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31734
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31735
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31736
+ Processing by ThingsController#edit as HTML
31737
+ Parameters: {"id"=>"1"}
31738
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31739
+ Rendered things/_form.html.erb (2.4ms)
31740
+ Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.1ms)
31741
+  (0.1ms) rollback transaction
31742
+  (0.0ms) begin transaction
31743
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31744
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31745
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31746
+ Processing by ThingsController#index as HTML
31747
+ Thing Load (0.1ms) SELECT "things".* FROM "things"
31748
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms)
31749
+  (0.1ms) rollback transaction
31750
+  (2.9ms) begin transaction
31751
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31752
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31753
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31754
+ Processing by ThingsController#new as HTML
31755
+ Rendered things/_form.html.erb (6.9ms)
31756
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
31757
+  (0.1ms) rollback transaction
31758
+  (0.0ms) begin transaction
31759
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31760
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31761
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31762
+ Processing by ThingsController#show as HTML
31763
+ Parameters: {"id"=>"1"}
31764
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31765
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31766
+ 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
31767
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (47.9ms)
31768
+ Completed 200 OK in 54ms (Views: 51.6ms | ActiveRecord: 0.5ms)
31769
+  (0.1ms) rollback transaction
31770
+  (0.0ms) begin transaction
31771
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31772
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31773
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31774
+ Processing by ThingsController#show as HTML
31775
+ Parameters: {"id"=>"1"}
31776
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31777
+ Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms)
31778
+  (0.1ms) rollback transaction
31779
+  (0.1ms) begin transaction
31780
+ Thing Load (6.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31781
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31782
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31783
+ Processing by ThingsController#show as HTML
31784
+ Parameters: {"id"=>"2"}
31785
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
31786
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31787
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31788
+ 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
31789
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (8.5ms)
31790
+ Completed 200 OK in 15ms (Views: 11.2ms | ActiveRecord: 0.5ms)
31791
+  (0.1ms) rollback transaction
31792
+  (0.2ms) begin transaction
31793
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31794
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31795
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31796
+ Processing by ThingsController#show as HTML
31797
+ Parameters: {"id"=>"1"}
31798
+ Thing Load (0.8ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31799
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.8ms)
31800
+  (0.2ms) rollback transaction
31801
+  (0.1ms) begin transaction
31802
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31803
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31804
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31805
+ Processing by ThingsController#show as HTML
31806
+ Parameters: {"id"=>"2"}
31807
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
31808
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31809
+ Completed 200 OK in 40ms (Views: 37.5ms | ActiveRecord: 0.4ms)
31810
+  (0.1ms) rollback transaction
31811
+  (0.1ms) begin transaction
31812
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31813
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31814
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31815
+ Processing by ThingsController#update as HTML
31816
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
31817
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31818
+  (0.0ms) SAVEPOINT active_record_1
31819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31820
+ Redirected to http://test.host/things/1
31821
+ Completed 302 Found in 35ms (ActiveRecord: 0.2ms)
31822
+  (0.1ms) rollback transaction
31823
+  (0.1ms) begin transaction
31824
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31825
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31826
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31827
+ Ominous::Warning Exists (4.3ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31828
+ Processing by ThingsController#index as HTML
31829
+ Thing Load (12.1ms) SELECT "things".* FROM "things"
31830
+ Completed 200 OK in 16ms (Views: 3.5ms | ActiveRecord: 12.1ms)
31831
+  (0.1ms) rollback transaction
31832
+ Connecting to database specified by database.yml
31833
+  (10.4ms) begin transaction
31834
+ Fixture Delete (4.7ms) DELETE FROM "ominous_warnings"
31835
+ Fixture Insert (1.4ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 09:09:14', '2014-08-26 09:09:14')
31836
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 09:09:14', '2014-08-26 09:09:14')
31837
+ Fixture Delete (0.9ms) DELETE FROM "ominous_warning_closers"
31838
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 09:09:14', '2014-08-26 09:09:14', 980190962)
31839
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 09:09:14', '2014-08-26 09:09:14', 298486374)
31840
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 09:09:14', '2014-08-26 09:09:14', 113629430)
31841
+ Fixture Delete (0.9ms) DELETE FROM "ominous_closers"
31842
+ 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', '2014-08-26 09:09:14', '2014-08-26 09:09:14')
31843
+ 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', '2014-08-26 09:09:14', '2014-08-26 09:09:14')
31844
+ Fixture Delete (1.4ms) DELETE FROM "things"
31845
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 09:09:14', '2014-08-26 09:09:14')
31846
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 09:09:14', '2014-08-26 09:09:14')
31847
+  (264.5ms) commit transaction
31848
+  (0.1ms) begin transaction
31849
+ Ominous::Warning Load (5.4ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31850
+ Ominous::Closer Load (0.2ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31851
+  (0.1ms) SAVEPOINT active_record_1
31852
+ 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
31853
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
31854
+  (0.1ms) rollback transaction
31855
+  (0.1ms) begin transaction
31856
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31857
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31858
+  (0.1ms) SAVEPOINT active_record_1
31859
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31860
+  (0.1ms) SAVEPOINT active_record_1
31861
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31862
+  (0.0ms) SAVEPOINT active_record_1
31863
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31864
+  (0.1ms) rollback transaction
31865
+  (0.0ms) begin transaction
31866
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31867
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31868
+  (0.0ms) SAVEPOINT active_record_1
31869
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31870
+  (0.1ms) rollback transaction
31871
+  (0.1ms) begin transaction
31872
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31873
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31874
+ 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
31875
+  (0.6ms) rollback transaction
31876
+  (0.1ms) begin transaction
31877
+ Ominous::Warning Load (0.3ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31878
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31879
+  (0.1ms) rollback transaction
31880
+  (0.0ms) begin transaction
31881
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31882
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31883
+ 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
31884
+  (0.1ms) rollback transaction
31885
+  (0.0ms) begin transaction
31886
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31887
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31888
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31889
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
31890
+ 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
31891
+ 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
31892
+  (0.0ms) SAVEPOINT active_record_1
31893
+ SQL (1.4ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
31894
+ 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
31895
+  (0.6ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 09:09:14.958208' WHERE "ominous_warning_closers"."id" = 298486374
31896
+  (0.1ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
31897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31898
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31899
+ 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
31900
+  (0.8ms) rollback transaction
31901
+  (0.0ms) begin transaction
31902
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31903
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31904
+  (0.0ms) rollback transaction
31905
+  (0.0ms) begin transaction
31906
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31907
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31908
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
31909
+  (0.1ms) rollback transaction
31910
+  (0.0ms) begin transaction
31911
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31912
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
31913
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
31914
+  (0.0ms) rollback transaction
31915
+  (0.1ms) begin transaction
31916
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31917
+ Processing by Ominous::WarningsController#dismiss as HTML
31918
+ Parameters: {"id"=>"1"}
31919
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
31920
+ Rendered text template (0.1ms)
31921
+ Completed 200 OK in 39ms (Views: 37.3ms | ActiveRecord: 0.1ms)
31922
+  (0.1ms) rollback transaction
31923
+  (0.1ms) begin transaction
31924
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31925
+ 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
31926
+  (0.0ms) SAVEPOINT active_record_1
31927
+  (1.4ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 09:09:15.059759' WHERE "ominous_closers"."id" = 1
31928
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31929
+  (0.7ms) rollback transaction
31930
+  (0.0ms) begin transaction
31931
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31932
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
31933
+  (0.0ms) SAVEPOINT active_record_1
31934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31935
+  (0.1ms) rollback transaction
31936
+  (0.0ms) begin transaction
31937
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31938
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
31939
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 2]]
31940
+  (0.1ms) rollback transaction
31941
+  (0.0ms) begin transaction
31942
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31943
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
31944
+  (0.1ms) rollback transaction
31945
+  (0.3ms) begin transaction
31946
+  (0.0ms) rollback transaction
31947
+  (0.1ms) begin transaction
31948
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31949
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31950
+ Ominous::Warning Load (0.5ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31951
+  (0.1ms) SELECT COUNT(*) FROM "things" 
31952
+ Processing by ThingsController#create as HTML
31953
+ Parameters: {"thing"=>{"name"=>"Foo"}}
31954
+  (0.1ms) SAVEPOINT active_record_1
31955
+ SQL (1.9ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Aug 2014 09:09:15 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 09:09:15 UTC +00:00]]
31956
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31957
+ Redirected to http://test.host/things/3
31958
+ Completed 302 Found in 8ms (ActiveRecord: 2.0ms)
31959
+  (0.1ms) SELECT COUNT(*) FROM "things" 
31960
+  (0.8ms) rollback transaction
31961
+  (0.0ms) begin transaction
31962
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31963
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31964
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31965
+  (0.1ms) SELECT COUNT(*) FROM "things" 
31966
+ Processing by ThingsController#destroy as HTML
31967
+ Parameters: {"id"=>"1"}
31968
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31969
+  (0.1ms) SAVEPOINT active_record_1
31970
+ SQL (1.2ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
31971
+  (0.0ms) RELEASE SAVEPOINT active_record_1
31972
+ Redirected to http://test.host/things
31973
+ Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
31974
+  (0.1ms) SELECT COUNT(*) FROM "things"
31975
+  (0.8ms) rollback transaction
31976
+  (0.0ms) begin transaction
31977
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31978
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31979
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31980
+ Processing by ThingsController#edit as HTML
31981
+ Parameters: {"id"=>"1"}
31982
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
31983
+ Rendered things/_form.html.erb (2.6ms)
31984
+ Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.1ms)
31985
+  (0.1ms) rollback transaction
31986
+  (0.0ms) begin transaction
31987
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31988
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31989
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31990
+ Processing by ThingsController#index as HTML
31991
+ Thing Load (0.1ms) SELECT "things".* FROM "things"
31992
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
31993
+  (0.1ms) rollback transaction
31994
+  (0.0ms) begin transaction
31995
+ Thing Load (27.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
31996
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
31997
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
31998
+ Processing by ThingsController#new as HTML
31999
+ Rendered things/_form.html.erb (1.6ms)
32000
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
32001
+  (0.1ms) rollback transaction
32002
+  (0.1ms) begin transaction
32003
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32004
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32005
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32006
+ Processing by ThingsController#show as HTML
32007
+ Parameters: {"id"=>"1"}
32008
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32009
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32010
+ 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
32011
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (32.3ms)
32012
+ Completed 200 OK in 38ms (Views: 36.5ms | ActiveRecord: 0.6ms)
32013
+  (0.1ms) rollback transaction
32014
+  (0.0ms) begin transaction
32015
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32016
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32017
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32018
+ Processing by ThingsController#show as HTML
32019
+ Parameters: {"id"=>"1"}
32020
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32021
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
32022
+  (0.1ms) rollback transaction
32023
+  (0.0ms) begin transaction
32024
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32025
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32026
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32027
+ Processing by ThingsController#show as HTML
32028
+ Parameters: {"id"=>"2"}
32029
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
32030
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32031
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32032
+ 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
32033
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.1ms)
32034
+ Completed 200 OK in 31ms (Views: 4.9ms | ActiveRecord: 0.6ms)
32035
+  (0.1ms) rollback transaction
32036
+  (0.1ms) begin transaction
32037
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32038
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32039
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32040
+ Processing by ThingsController#show as HTML
32041
+ Parameters: {"id"=>"1"}
32042
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32043
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
32044
+  (0.2ms) rollback transaction
32045
+  (0.1ms) begin transaction
32046
+ Thing Load (0.5ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32047
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32048
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32049
+ Processing by ThingsController#show as HTML
32050
+ Parameters: {"id"=>"2"}
32051
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
32052
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32053
+ Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.3ms)
32054
+  (0.1ms) rollback transaction
32055
+  (0.1ms) begin transaction
32056
+ Thing Load (0.6ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32057
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32058
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32059
+ Processing by ThingsController#update as HTML
32060
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
32061
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32062
+  (0.1ms) SAVEPOINT active_record_1
32063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32064
+ Redirected to http://test.host/things/1
32065
+ Completed 302 Found in 21ms (ActiveRecord: 0.3ms)
32066
+  (0.1ms) rollback transaction
32067
+  (0.0ms) begin transaction
32068
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32069
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32070
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32071
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32072
+ Processing by ThingsController#index as HTML
32073
+ Thing Load (0.1ms) SELECT "things".* FROM "things"
32074
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
32075
+  (0.1ms) rollback transaction
32076
+ Connecting to database specified by database.yml
32077
+  (27.6ms) begin transaction
32078
+ Fixture Delete (42.8ms) DELETE FROM "ominous_warnings"
32079
+ 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', '2014-08-26 09:13:30', '2014-08-26 09:13:30')
32080
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 09:13:30', '2014-08-26 09:13:30')
32081
+ Fixture Delete (0.7ms) DELETE FROM "ominous_warning_closers"
32082
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 09:13:30', '2014-08-26 09:13:30', 980190962)
32083
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 09:13:30', '2014-08-26 09:13:30', 298486374)
32084
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 09:13:30', '2014-08-26 09:13:30', 113629430)
32085
+ Fixture Delete (0.9ms) DELETE FROM "ominous_closers"
32086
+ 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', '2014-08-26 09:13:30', '2014-08-26 09:13:30')
32087
+ 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', '2014-08-26 09:13:30', '2014-08-26 09:13:30')
32088
+ Fixture Delete (0.7ms) DELETE FROM "things"
32089
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 09:13:30', '2014-08-26 09:13:30')
32090
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 09:13:30', '2014-08-26 09:13:30')
32091
+  (190.3ms) commit transaction
32092
+  (0.1ms) begin transaction
32093
+ Ominous::Warning Load (8.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32094
+ Ominous::Closer Load (0.3ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32095
+  (0.1ms) SAVEPOINT active_record_1
32096
+ 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
32097
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
32098
+  (0.1ms) rollback transaction
32099
+  (0.1ms) begin transaction
32100
+ Ominous::Warning Load (0.4ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32101
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32102
+  (0.1ms) SAVEPOINT active_record_1
32103
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
32104
+  (0.1ms) SAVEPOINT active_record_1
32105
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
32106
+  (0.0ms) SAVEPOINT active_record_1
32107
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
32108
+  (0.1ms) rollback transaction
32109
+  (0.0ms) begin transaction
32110
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32111
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32112
+  (0.1ms) SAVEPOINT active_record_1
32113
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
32114
+  (0.1ms) rollback transaction
32115
+  (0.0ms) begin transaction
32116
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32117
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32118
+ 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
32119
+  (0.1ms) rollback transaction
32120
+  (0.0ms) begin transaction
32121
+ Ominous::Warning Load (0.3ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32122
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32123
+  (0.1ms) rollback transaction
32124
+  (0.0ms) begin transaction
32125
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32126
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32127
+ 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
32128
+  (0.1ms) rollback transaction
32129
+  (0.1ms) begin transaction
32130
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32131
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32132
+ Ominous::Closer Load (0.3ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32133
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
32134
+ 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
32135
+ 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
32136
+  (0.0ms) SAVEPOINT active_record_1
32137
+ SQL (1.5ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
32138
+ 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
32139
+  (0.7ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 09:13:30.919372' WHERE "ominous_warning_closers"."id" = 298486374
32140
+  (0.4ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
32141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32142
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32143
+ 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
32144
+  (0.8ms) rollback transaction
32145
+  (0.0ms) begin transaction
32146
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32147
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32148
+  (0.1ms) rollback transaction
32149
+  (0.0ms) begin transaction
32150
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32151
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32152
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32153
+  (0.1ms) rollback transaction
32154
+  (0.0ms) begin transaction
32155
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32156
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32157
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
32158
+  (0.1ms) rollback transaction
32159
+  (0.3ms) begin transaction
32160
+ Ominous::Warning Load (3.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32161
+ Processing by Ominous::WarningsController#dismiss as HTML
32162
+ Parameters: {"id"=>"1"}
32163
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
32164
+ Rendered text template (0.0ms)
32165
+ Completed 200 OK in 39ms (Views: 38.0ms | ActiveRecord: 0.0ms)
32166
+  (0.1ms) rollback transaction
32167
+  (0.1ms) begin transaction
32168
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32169
+ 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
32170
+  (0.1ms) SAVEPOINT active_record_1
32171
+  (1.5ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 09:13:31.037693' WHERE "ominous_closers"."id" = 1
32172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32173
+  (1.2ms) rollback transaction
32174
+  (0.0ms) begin transaction
32175
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32176
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
32177
+  (0.0ms) SAVEPOINT active_record_1
32178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32179
+  (0.1ms) rollback transaction
32180
+  (0.0ms) begin transaction
32181
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32182
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
32183
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 2]]
32184
+  (0.1ms) rollback transaction
32185
+  (0.1ms) begin transaction
32186
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32187
+ Ominous::Closer Load (1.7ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
32188
+  (0.1ms) rollback transaction
32189
+  (0.1ms) begin transaction
32190
+  (22.4ms) rollback transaction
32191
+  (0.1ms) begin transaction
32192
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32193
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32194
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32195
+  (0.1ms) SELECT COUNT(*) FROM "things" 
32196
+ Processing by ThingsController#create as HTML
32197
+ Parameters: {"thing"=>{"name"=>"Foo"}}
32198
+  (0.1ms) SAVEPOINT active_record_1
32199
+ SQL (2.5ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Aug 2014 09:13:31 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 09:13:31 UTC +00:00]]
32200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32201
+ Redirected to http://test.host/things/3
32202
+ Completed 302 Found in 12ms (ActiveRecord: 2.6ms)
32203
+  (0.1ms) SELECT COUNT(*) FROM "things" 
32204
+  (1.3ms) rollback transaction
32205
+  (0.1ms) begin transaction
32206
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32207
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32208
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32209
+  (0.1ms) SELECT COUNT(*) FROM "things" 
32210
+ Processing by ThingsController#destroy as HTML
32211
+ Parameters: {"id"=>"1"}
32212
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32213
+  (0.0ms) SAVEPOINT active_record_1
32214
+ SQL (1.6ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
32215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32216
+ Redirected to http://test.host/things
32217
+ Completed 302 Found in 9ms (ActiveRecord: 1.7ms)
32218
+  (0.1ms) SELECT COUNT(*) FROM "things"
32219
+  (1.1ms) rollback transaction
32220
+  (0.0ms) begin transaction
32221
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32222
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32223
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32224
+ Processing by ThingsController#edit as HTML
32225
+ Parameters: {"id"=>"1"}
32226
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32227
+ Rendered things/_form.html.erb (2.5ms)
32228
+ Completed 200 OK in 32ms (Views: 31.2ms | ActiveRecord: 0.1ms)
32229
+  (0.1ms) rollback transaction
32230
+  (0.1ms) begin transaction
32231
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32232
+ Thing Load (0.5ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32233
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32234
+ Processing by ThingsController#index as HTML
32235
+ Thing Load (0.1ms) SELECT "things".* FROM "things"
32236
+ Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms)
32237
+  (0.1ms) rollback transaction
32238
+  (0.0ms) begin transaction
32239
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32240
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32241
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32242
+ Processing by ThingsController#new as HTML
32243
+ Rendered things/_form.html.erb (5.0ms)
32244
+ Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
32245
+  (0.2ms) rollback transaction
32246
+  (0.1ms) begin transaction
32247
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32248
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32249
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32250
+ Processing by ThingsController#show as HTML
32251
+ Parameters: {"id"=>"1"}
32252
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32253
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32254
+ 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
32255
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (80.8ms)
32256
+ Completed 200 OK in 92ms (Views: 89.7ms | ActiveRecord: 0.6ms)
32257
+  (0.1ms) rollback transaction
32258
+  (0.1ms) begin transaction
32259
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32260
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32261
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32262
+ Processing by ThingsController#show as HTML
32263
+ Parameters: {"id"=>"1"}
32264
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32265
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
32266
+  (0.1ms) rollback transaction
32267
+  (0.1ms) begin transaction
32268
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32269
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32270
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32271
+ Processing by ThingsController#show as HTML
32272
+ Parameters: {"id"=>"2"}
32273
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
32274
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32275
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32276
+ 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
32277
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (1.8ms)
32278
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.5ms)
32279
+  (0.2ms) rollback transaction
32280
+  (0.1ms) begin transaction
32281
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32282
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32283
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32284
+ Processing by ThingsController#show as HTML
32285
+ Parameters: {"id"=>"1"}
32286
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32287
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
32288
+  (0.1ms) rollback transaction
32289
+  (0.1ms) begin transaction
32290
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32291
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32292
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32293
+ Processing by ThingsController#show as HTML
32294
+ Parameters: {"id"=>"2"}
32295
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
32296
+ Ominous::Warning Exists (0.2ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32297
+ Completed 200 OK in 13ms (Views: 2.4ms | ActiveRecord: 0.3ms)
32298
+  (0.1ms) rollback transaction
32299
+  (0.1ms) begin transaction
32300
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32301
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32302
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32303
+ Processing by ThingsController#update as HTML
32304
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
32305
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32306
+  (0.2ms) SAVEPOINT active_record_1
32307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32308
+ Redirected to http://test.host/things/1
32309
+ Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
32310
+  (0.1ms) rollback transaction
32311
+  (0.1ms) begin transaction
32312
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32313
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32314
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32315
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32316
+ Processing by ThingsController#index as HTML
32317
+ Thing Load (0.2ms) SELECT "things".* FROM "things"
32318
+ Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.2ms)
32319
+  (0.1ms) rollback transaction
32320
+ Connecting to database specified by database.yml
32321
+  (7.6ms) begin transaction
32322
+ Fixture Delete (5.3ms) DELETE FROM "ominous_warnings"
32323
+ 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', '2014-08-26 09:14:19', '2014-08-26 09:14:19')
32324
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 09:14:19', '2014-08-26 09:14:19')
32325
+ Fixture Delete (0.7ms) DELETE FROM "ominous_warning_closers"
32326
+ Fixture Insert (0.2ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 09:14:19', '2014-08-26 09:14:19', 980190962)
32327
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 09:14:19', '2014-08-26 09:14:19', 298486374)
32328
+ Fixture Insert (0.1ms) INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 09:14:19', '2014-08-26 09:14:19', 113629430)
32329
+ Fixture Delete (0.8ms) DELETE FROM "ominous_closers"
32330
+ 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', '2014-08-26 09:14:19', '2014-08-26 09:14:19')
32331
+ 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', '2014-08-26 09:14:19', '2014-08-26 09:14:19')
32332
+ Fixture Delete (0.6ms) DELETE FROM "things"
32333
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 09:14:19', '2014-08-26 09:14:19')
32334
+ Fixture Insert (0.1ms) INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 09:14:19', '2014-08-26 09:14:19')
32335
+  (219.9ms) commit transaction
32336
+  (0.1ms) begin transaction
32337
+ Ominous::Warning Load (10.8ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32338
+ Ominous::Closer Load (0.2ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32339
+  (0.1ms) SAVEPOINT active_record_1
32340
+ 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
32341
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
32342
+  (0.1ms) rollback transaction
32343
+  (0.0ms) begin transaction
32344
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32345
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32346
+  (0.1ms) SAVEPOINT active_record_1
32347
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
32348
+  (0.0ms) SAVEPOINT active_record_1
32349
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
32350
+  (0.0ms) SAVEPOINT active_record_1
32351
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
32352
+  (0.1ms) rollback transaction
32353
+  (0.1ms) begin transaction
32354
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32355
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32356
+  (0.0ms) SAVEPOINT active_record_1
32357
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
32358
+  (4.8ms) rollback transaction
32359
+  (0.0ms) begin transaction
32360
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32361
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32362
+ 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
32363
+  (0.1ms) rollback transaction
32364
+  (0.1ms) begin transaction
32365
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32366
+ Ominous::Closer Load (0.1ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32367
+  (1.7ms) rollback transaction
32368
+  (0.0ms) begin transaction
32369
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32370
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32371
+ 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 AND "ominous_closers"."id" = 1 ORDER BY position LIMIT 1
32372
+  (0.1ms) rollback transaction
32373
+  (0.0ms) begin transaction
32374
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32375
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32376
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32377
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 2]]
32378
+ 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
32379
+ 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
32380
+  (0.1ms) SAVEPOINT active_record_1
32381
+ SQL (5.1ms) UPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)
32382
+ 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
32383
+  (0.6ms) UPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 09:14:19.740359' WHERE "ominous_warning_closers"."id" = 298486374
32384
+  (0.1ms) SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
32385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32386
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32387
+ 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
32388
+  (1.6ms) rollback transaction
32389
+  (0.1ms) begin transaction
32390
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32391
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32392
+  (0.1ms) rollback transaction
32393
+  (0.0ms) begin transaction
32394
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32395
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32396
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32397
+  (0.1ms) rollback transaction
32398
+  (0.0ms) begin transaction
32399
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32400
+ Ominous::Closer Load (0.0ms) SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
32401
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1
32402
+  (0.0ms) rollback transaction
32403
+  (0.1ms) begin transaction
32404
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32405
+ Processing by Ominous::WarningsController#dismiss as HTML
32406
+ Parameters: {"id"=>"1"}
32407
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", "1"]]
32408
+ Rendered text template (0.0ms)
32409
+ Completed 200 OK in 54ms (Views: 53.1ms | ActiveRecord: 0.1ms)
32410
+  (0.1ms) rollback transaction
32411
+  (0.1ms) begin transaction
32412
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32413
+ 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
32414
+  (0.1ms) SAVEPOINT active_record_1
32415
+  (1.5ms) UPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 09:14:19.848068' WHERE "ominous_closers"."id" = 1
32416
+  (0.5ms) RELEASE SAVEPOINT active_record_1
32417
+  (0.8ms) rollback transaction
32418
+  (0.0ms) begin transaction
32419
+ Ominous::Warning Load (0.6ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32420
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
32421
+  (0.0ms) SAVEPOINT active_record_1
32422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32423
+  (0.0ms) rollback transaction
32424
+  (0.2ms) begin transaction
32425
+ Ominous::Warning Load (0.2ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32426
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
32427
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 2]]
32428
+  (0.1ms) rollback transaction
32429
+  (0.0ms) begin transaction
32430
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32431
+ Ominous::Closer Load (0.1ms) 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" = ? ORDER BY position LIMIT 1 [["id", 1]]
32432
+  (0.1ms) rollback transaction
32433
+  (0.0ms) begin transaction
32434
+  (0.0ms) rollback transaction
32435
+  (0.1ms) begin transaction
32436
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32437
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32438
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32439
+  (0.1ms) SELECT COUNT(*) FROM "things" 
32440
+ Processing by ThingsController#create as HTML
32441
+ Parameters: {"thing"=>{"name"=>"Foo"}}
32442
+  (0.1ms) SAVEPOINT active_record_1
32443
+ SQL (0.7ms) INSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Aug 2014 09:14:19 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 09:14:19 UTC +00:00]]
32444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32445
+ Redirected to http://test.host/things/3
32446
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
32447
+  (0.1ms) SELECT COUNT(*) FROM "things" 
32448
+  (0.4ms) rollback transaction
32449
+  (0.0ms) begin transaction
32450
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32451
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32452
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32453
+  (0.1ms) SELECT COUNT(*) FROM "things" 
32454
+ Processing by ThingsController#destroy as HTML
32455
+ Parameters: {"id"=>"1"}
32456
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32457
+  (0.1ms) SAVEPOINT active_record_1
32458
+ SQL (0.7ms) DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
32459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32460
+ Redirected to http://test.host/things
32461
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
32462
+  (0.1ms) SELECT COUNT(*) FROM "things"
32463
+  (1.5ms) rollback transaction
32464
+  (0.1ms) begin transaction
32465
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32466
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32467
+ Ominous::Warning Load (2.6ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32468
+ Processing by ThingsController#edit as HTML
32469
+ Parameters: {"id"=>"1"}
32470
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32471
+ Rendered things/_form.html.erb (2.4ms)
32472
+ Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.2ms)
32473
+  (0.1ms) rollback transaction
32474
+  (0.1ms) begin transaction
32475
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32476
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32477
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32478
+ Processing by ThingsController#index as HTML
32479
+ Thing Load (0.2ms) SELECT "things".* FROM "things"
32480
+ Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms)
32481
+  (0.1ms) rollback transaction
32482
+  (0.0ms) begin transaction
32483
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32484
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32485
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32486
+ Processing by ThingsController#new as HTML
32487
+ Rendered things/_form.html.erb (1.8ms)
32488
+ Completed 200 OK in 30ms (Views: 29.4ms | ActiveRecord: 0.0ms)
32489
+  (0.1ms) rollback transaction
32490
+  (0.1ms) begin transaction
32491
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32492
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32493
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32494
+ Processing by ThingsController#show as HTML
32495
+ Parameters: {"id"=>"1"}
32496
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32497
+ Ominous::Warning Load (1.8ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32498
+ 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
32499
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (27.0ms)
32500
+ Completed 200 OK in 41ms (Views: 37.0ms | ActiveRecord: 2.2ms)
32501
+  (0.1ms) rollback transaction
32502
+  (0.1ms) begin transaction
32503
+ Thing Load (0.2ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32504
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32505
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32506
+ Processing by ThingsController#show as HTML
32507
+ Parameters: {"id"=>"1"}
32508
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32509
+ Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)
32510
+  (0.1ms) rollback transaction
32511
+  (0.0ms) begin transaction
32512
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32513
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32514
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32515
+ Processing by ThingsController#show as HTML
32516
+ Parameters: {"id"=>"2"}
32517
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
32518
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32519
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32520
+ 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
32521
+ Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.0ms)
32522
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.5ms)
32523
+  (0.1ms) rollback transaction
32524
+  (0.2ms) begin transaction
32525
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32526
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32527
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32528
+ Processing by ThingsController#show as HTML
32529
+ Parameters: {"id"=>"1"}
32530
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32531
+ Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.1ms)
32532
+  (0.1ms) rollback transaction
32533
+  (0.1ms) begin transaction
32534
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32535
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32536
+ Ominous::Warning Load (0.1ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32537
+ Processing by ThingsController#show as HTML
32538
+ Parameters: {"id"=>"2"}
32539
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
32540
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32541
+ Completed 200 OK in 34ms (Views: 30.7ms | ActiveRecord: 0.4ms)
32542
+  (0.1ms) rollback transaction
32543
+  (0.1ms) begin transaction
32544
+ Thing Load (2.8ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32545
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32546
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32547
+ Processing by ThingsController#update as HTML
32548
+ Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
32549
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
32550
+  (0.1ms) SAVEPOINT active_record_1
32551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32552
+ Redirected to http://test.host/things/1
32553
+ Completed 302 Found in 9ms (ActiveRecord: 0.2ms)
32554
+  (0.1ms) rollback transaction
32555
+  (0.1ms) begin transaction
32556
+ Thing Load (0.1ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
32557
+ Thing Load (0.0ms) SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
32558
+ Ominous::Warning Load (0.0ms) SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
32559
+ Ominous::Warning Exists (0.1ms) SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
32560
+ Processing by ThingsController#index as HTML
32561
+ Thing Load (0.2ms) SELECT "things".* FROM "things"
32562
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
32563
+  (0.1ms) rollback transaction