ominous 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/app/helpers/ominous/warnings_helper.rb +1 -1
- data/lib/ominous/version.rb +8 -2
- data/test/dummy/app/views/layouts/application.html.erb +13 -0
- data/test/dummy/app/views/things/index.html.erb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +1272 -0
- data/test/dummy/log/test.log +1211 -0
- data/test/dummy/tmp/cache/assets/C4E/860/sprockets%2F3846e91221a1804781ed844616a37b2f +0 -0
- data/test/dummy/tmp/cache/assets/C8C/290/sprockets%2F638827bda7464853364b3e374fa6d552 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/DA5/C50/sprockets%2F7927a05ef7b30ffae83363a81fdfb3c8 +0 -0
- data/test/dummy/tmp/cache/assets/DFF/160/sprockets%2Fcabc0678d4fc6e9077e4e0ee21d6a3ed +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/unit/helpers/ominous/warnings_helper_test.rb +12 -2
- metadata +96 -102
data/test/dummy/log/test.log
CHANGED
@@ -31350,3 +31350,1214 @@ Processing by ThingsController#index as HTML
|
|
31350
31350
|
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" [0m
|
31351
31351
|
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
31352
31352
|
[1m[35m (0.1ms)[0m rollback transaction
|
31353
|
+
Connecting to database specified by database.yml
|
31354
|
+
[1m[36m (3.8ms)[0m [1mbegin transaction[0m
|
31355
|
+
[1m[35mFixture Delete (2.9ms)[0m DELETE FROM "ominous_warnings"
|
31356
|
+
[1m[36mFixture Insert (1.0ms)[0m [1mINSERT 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')[0m
|
31357
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
31359
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
31361
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
31363
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
31365
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "things"
|
31366
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
31367
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (180.0ms)[0m [1mcommit transaction[0m
|
31369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31370
|
+
[1m[36mOminous::Warning Load (7.9ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31371
|
+
[1m[35mOminous::Closer Load (0.4ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31372
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31373
|
+
[1m[35mOminous::WarningCloser Exists (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31375
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31377
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31378
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31379
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31380
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31382
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31383
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31384
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31385
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31387
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31388
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31389
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31390
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31391
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31393
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31394
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31395
|
+
[1m[35mOminous::Closer Exists (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31397
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31398
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31399
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31400
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31401
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31402
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31403
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31404
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m
|
31405
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31406
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31407
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31408
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31409
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31410
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
31411
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36mOminous::WarningCloser Load (0.1ms)[0m [1mSELECT 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[0m
|
31413
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31414
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
31415
|
+
[1m[35mOminous::WarningCloser Exists (0.2ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2013-07-29 13:34:55.697425' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
31417
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
31418
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31419
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31420
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT 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[0m
|
31421
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
31422
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
31423
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31424
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31425
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31427
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31428
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31429
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
31430
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
31431
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31432
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31433
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31434
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
31435
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31437
|
+
[1m[35mOminous::Warning Load (1.0ms)[0m 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
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31441
|
+
Rendered text template (0.0ms)
|
31442
|
+
Completed 200 OK in 17ms (Views: 15.0ms | ActiveRecord: 0.1ms)
|
31443
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31444
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31445
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31446
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT 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[0m
|
31447
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31448
|
+
[1m[36m (1.0ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2013-07-29 13:34:55.795887' WHERE "ominous_closers"."id" = 1[0m
|
31449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31450
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
31451
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31452
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31453
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31455
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31456
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
31457
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31458
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
31459
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31460
|
+
[1m[36mThing Load (0.4ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31461
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31462
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31463
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
31464
|
+
Processing by ThingsController#create as HTML
|
31465
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
31466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31467
|
+
[1m[35mSQL (1.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31469
|
+
Redirected to http://test.host/things/3
|
31470
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.8ms)
|
31471
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
31472
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
31473
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31474
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31475
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31476
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31477
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
31478
|
+
Processing by ThingsController#destroy as HTML
|
31479
|
+
Parameters: {"id"=>"1"}
|
31480
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31481
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31482
|
+
[1m[36mSQL (1.2ms)[0m [1mDELETE FROM "things" WHERE "things"."id" = ?[0m [["id", 1]]
|
31483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31484
|
+
Redirected to http://test.host/things
|
31485
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
|
31486
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
31487
|
+
[1m[35m (2.1ms)[0m rollback transaction
|
31488
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31489
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31490
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31491
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m 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
|
+
[1m[36mThing Load (1.6ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31495
|
+
Rendered things/_form.html.erb (2.7ms)
|
31496
|
+
Completed 200 OK in 35ms (Views: 32.0ms | ActiveRecord: 1.6ms)
|
31497
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
31498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31499
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31500
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31501
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31502
|
+
Processing by ThingsController#index as HTML
|
31503
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" [0m
|
31504
|
+
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
31505
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31506
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31507
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31508
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31509
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31514
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31515
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31516
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31517
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31518
|
+
Processing by ThingsController#show as HTML
|
31519
|
+
Parameters: {"id"=>"1"}
|
31520
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
31521
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
31522
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31526
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31527
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31528
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31529
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31530
|
+
Processing by ThingsController#show as HTML
|
31531
|
+
Parameters: {"id"=>"1"}
|
31532
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
31533
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
31534
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31535
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31536
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31537
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31538
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31539
|
+
Processing by ThingsController#show as HTML
|
31540
|
+
Parameters: {"id"=>"2"}
|
31541
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
31542
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
31543
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
31544
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
31548
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31549
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31550
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31551
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31555
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
31556
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
31557
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31558
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31559
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31560
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
31564
|
+
[1m[35mOminous::Warning Exists (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31567
|
+
[1m[35m (0.2ms)[0m begin transaction
|
31568
|
+
[1m[36mThing Load (0.4ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31569
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31570
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31571
|
+
Processing by ThingsController#update as HTML
|
31572
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
31573
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
31574
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31575
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31576
|
+
Redirected to http://test.host/things/1
|
31577
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
|
31578
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31579
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31580
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31581
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31582
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31583
|
+
[1m[35mOminous::Warning Exists (0.2ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
31584
|
+
Processing by ThingsController#index as HTML
|
31585
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" [0m
|
31586
|
+
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.2ms)
|
31587
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31588
|
+
Connecting to database specified by database.yml
|
31589
|
+
[1m[36m (6.1ms)[0m [1mbegin transaction[0m
|
31590
|
+
[1m[35mFixture Delete (4.9ms)[0m DELETE FROM "ominous_warnings"
|
31591
|
+
[1m[36mFixture Insert (3.1ms)[0m [1mINSERT 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')[0m
|
31592
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
31594
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
31596
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
31598
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
31600
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "things"
|
31601
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
31602
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (173.3ms)[0m [1mcommit transaction[0m
|
31604
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31605
|
+
[1m[36mOminous::Warning Load (6.7ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31606
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31607
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31608
|
+
[1m[35mOminous::WarningCloser Exists (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31610
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31611
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31612
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31613
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31614
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31615
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31616
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31617
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31618
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31619
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31620
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31621
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31622
|
+
[1m[35mOminous::Warning Load (0.5ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31623
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31624
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31625
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31626
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31627
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31628
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31629
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31630
|
+
[1m[35mOminous::Closer Exists (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31632
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31633
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31634
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31635
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31636
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31637
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31638
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31639
|
+
[1m[36mOminous::Closer Load (0.4ms)[0m [1mSELECT 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[0m
|
31640
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31641
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31642
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31643
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31644
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31645
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
31646
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36mOminous::WarningCloser Load (0.2ms)[0m [1mSELECT 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[0m
|
31648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31649
|
+
[1m[36mSQL (1.3ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
31650
|
+
[1m[35mOminous::WarningCloser Exists (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 09:08:12.969737' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
31652
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
31653
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31654
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31655
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m
|
31656
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
31657
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31658
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31659
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31660
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31661
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31662
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31663
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31664
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
31665
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
31666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31667
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31668
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31669
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
31670
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31671
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31672
|
+
[1m[35mOminous::Warning Load (0.3ms)[0m 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
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31676
|
+
Rendered text template (0.0ms)
|
31677
|
+
Completed 200 OK in 37ms (Views: 35.2ms | ActiveRecord: 0.1ms)
|
31678
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31679
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31680
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31681
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m [["id", 1]]
|
31682
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31683
|
+
[1m[36m (1.2ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 09:08:13.083576' WHERE "ominous_closers"."id" = 1[0m
|
31684
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
31685
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
31686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31687
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31688
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31690
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31691
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31693
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31694
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m 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
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT 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[0m [["id", 2]]
|
31696
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31697
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31698
|
+
[1m[35mOminous::Warning Load (26.5ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31699
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT 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[0m [["id", 1]]
|
31700
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31701
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31702
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31704
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31705
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31706
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31707
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
31708
|
+
Processing by ThingsController#create as HTML
|
31709
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
31710
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31711
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31713
|
+
Redirected to http://test.host/things/3
|
31714
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.9ms)
|
31715
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
31716
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
31717
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31718
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31719
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31720
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31721
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
31722
|
+
Processing by ThingsController#destroy as HTML
|
31723
|
+
Parameters: {"id"=>"1"}
|
31724
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
31725
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31726
|
+
[1m[35mSQL (3.9ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
31727
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31728
|
+
Redirected to http://test.host/things
|
31729
|
+
Completed 302 Found in 11ms (ActiveRecord: 4.1ms)
|
31730
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
31731
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
31732
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31733
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31734
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31735
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31736
|
+
Processing by ThingsController#edit as HTML
|
31737
|
+
Parameters: {"id"=>"1"}
|
31738
|
+
[1m[35mThing Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31742
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31743
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31744
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31745
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31746
|
+
Processing by ThingsController#index as HTML
|
31747
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
31748
|
+
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms)
|
31749
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31750
|
+
[1m[35m (2.9ms)[0m begin transaction
|
31751
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31752
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31753
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31758
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31759
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31760
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31761
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31765
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
31766
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31771
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31772
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31773
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31777
|
+
Completed 200 OK in 22ms (Views: 21.2ms | ActiveRecord: 0.0ms)
|
31778
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31780
|
+
[1m[35mThing Load (6.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31781
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31782
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
31786
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
31787
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
31788
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31792
|
+
[1m[35m (0.2ms)[0m begin transaction
|
31793
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31794
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31795
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31796
|
+
Processing by ThingsController#show as HTML
|
31797
|
+
Parameters: {"id"=>"1"}
|
31798
|
+
[1m[35mThing Load (0.8ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
31799
|
+
Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.8ms)
|
31800
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
31801
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31802
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31803
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31804
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31805
|
+
Processing by ThingsController#show as HTML
|
31806
|
+
Parameters: {"id"=>"2"}
|
31807
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
31808
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
31809
|
+
Completed 200 OK in 40ms (Views: 37.5ms | ActiveRecord: 0.4ms)
|
31810
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31812
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31813
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31814
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31818
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31819
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31820
|
+
Redirected to http://test.host/things/1
|
31821
|
+
Completed 302 Found in 35ms (ActiveRecord: 0.2ms)
|
31822
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31824
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31825
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31826
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31827
|
+
[1m[36mOminous::Warning Exists (4.3ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
31828
|
+
Processing by ThingsController#index as HTML
|
31829
|
+
[1m[35mThing Load (12.1ms)[0m SELECT "things".* FROM "things"
|
31830
|
+
Completed 200 OK in 16ms (Views: 3.5ms | ActiveRecord: 12.1ms)
|
31831
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31832
|
+
Connecting to database specified by database.yml
|
31833
|
+
[1m[36m (10.4ms)[0m [1mbegin transaction[0m
|
31834
|
+
[1m[35mFixture Delete (4.7ms)[0m DELETE FROM "ominous_warnings"
|
31835
|
+
[1m[36mFixture Insert (1.4ms)[0m [1mINSERT 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')[0m
|
31836
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
31838
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
31840
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
31842
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
31844
|
+
[1m[35mFixture Delete (1.4ms)[0m DELETE FROM "things"
|
31845
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
31846
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (264.5ms)[0m [1mcommit transaction[0m
|
31848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31849
|
+
[1m[36mOminous::Warning Load (5.4ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31850
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31851
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31852
|
+
[1m[35mOminous::WarningCloser Exists (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31854
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31855
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31856
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31857
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31858
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31859
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31860
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31861
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31862
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31863
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31864
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31865
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31866
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31867
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31869
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
31870
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31872
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31873
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31874
|
+
[1m[35mOminous::Closer Exists (0.2ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
31876
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31877
|
+
[1m[36mOminous::Warning Load (0.3ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31878
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31879
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31881
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31882
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31883
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT 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[0m
|
31884
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31885
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31886
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31887
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31888
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31889
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
31890
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36mOminous::WarningCloser Load (0.1ms)[0m [1mSELECT 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[0m
|
31892
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31893
|
+
[1m[36mSQL (1.4ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
31894
|
+
[1m[35mOminous::WarningCloser Exists (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 09:09:14.958208' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
31896
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
31897
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31898
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31899
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m
|
31900
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
31901
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31902
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31903
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31904
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31906
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31907
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
31908
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
31909
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31911
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31912
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
31913
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
31914
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31915
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31916
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m 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
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
31920
|
+
Rendered text template (0.1ms)
|
31921
|
+
Completed 200 OK in 39ms (Views: 37.3ms | ActiveRecord: 0.1ms)
|
31922
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31924
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31925
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m [["id", 1]]
|
31926
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
31927
|
+
[1m[36m (1.4ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 09:09:15.059759' WHERE "ominous_closers"."id" = 1[0m
|
31928
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31929
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
31930
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31931
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31932
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
31934
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31935
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31937
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31938
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m 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
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT 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[0m [["id", 2]]
|
31940
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31941
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31942
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31943
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT 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[0m [["id", 1]]
|
31944
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31945
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
31946
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31948
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31949
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31950
|
+
[1m[35mOminous::Warning Load (0.5ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31951
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
31952
|
+
Processing by ThingsController#create as HTML
|
31953
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
31954
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
31955
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
31957
|
+
Redirected to http://test.host/things/3
|
31958
|
+
Completed 302 Found in 8ms (ActiveRecord: 2.0ms)
|
31959
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
31960
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
31961
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31962
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
31963
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
31964
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
31965
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
31966
|
+
Processing by ThingsController#destroy as HTML
|
31967
|
+
Parameters: {"id"=>"1"}
|
31968
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
31969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
31970
|
+
[1m[35mSQL (1.2ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
31971
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
31972
|
+
Redirected to http://test.host/things
|
31973
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
|
31974
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
31975
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
31976
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31977
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31978
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31979
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31980
|
+
Processing by ThingsController#edit as HTML
|
31981
|
+
Parameters: {"id"=>"1"}
|
31982
|
+
[1m[35mThing Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31986
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31987
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31988
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31989
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
31990
|
+
Processing by ThingsController#index as HTML
|
31991
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
31992
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
31993
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31995
|
+
[1m[36mThing Load (27.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
31996
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
31997
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32003
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32004
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32005
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32009
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32010
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT 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[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32014
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32015
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32016
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32017
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32021
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
32022
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32023
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32024
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32025
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32026
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
32030
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32031
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32032
|
+
[1m[35mOminous::Closer Load (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32036
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32037
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32038
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32039
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32040
|
+
Processing by ThingsController#show as HTML
|
32041
|
+
Parameters: {"id"=>"1"}
|
32042
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32043
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
|
32044
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
32045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32046
|
+
[1m[36mThing Load (0.5ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32047
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32048
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32049
|
+
Processing by ThingsController#show as HTML
|
32050
|
+
Parameters: {"id"=>"2"}
|
32051
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
32052
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32053
|
+
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.3ms)
|
32054
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32055
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32056
|
+
[1m[35mThing Load (0.6ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32057
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32058
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m 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
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32062
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32063
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32064
|
+
Redirected to http://test.host/things/1
|
32065
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.3ms)
|
32066
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32067
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32068
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32069
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32070
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32071
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32072
|
+
Processing by ThingsController#index as HTML
|
32073
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
32074
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
32075
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32076
|
+
Connecting to database specified by database.yml
|
32077
|
+
[1m[36m (27.6ms)[0m [1mbegin transaction[0m
|
32078
|
+
[1m[35mFixture Delete (42.8ms)[0m DELETE FROM "ominous_warnings"
|
32079
|
+
[1m[36mFixture Insert (0.9ms)[0m [1mINSERT 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')[0m
|
32080
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
32082
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
32084
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
32086
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
32088
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "things"
|
32089
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
32090
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (190.3ms)[0m [1mcommit transaction[0m
|
32092
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32093
|
+
[1m[36mOminous::Warning Load (8.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32094
|
+
[1m[35mOminous::Closer Load (0.3ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32095
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32096
|
+
[1m[35mOminous::WarningCloser Exists (0.2ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32098
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32100
|
+
[1m[35mOminous::Warning Load (0.4ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32101
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32102
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32103
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32104
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32105
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32106
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
32107
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32110
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32111
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32112
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32113
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32114
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32116
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32117
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32118
|
+
[1m[35mOminous::Closer Exists (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32120
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32121
|
+
[1m[36mOminous::Warning Load (0.3ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32122
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32123
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32125
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32126
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32127
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT 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[0m
|
32128
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32130
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32131
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32132
|
+
[1m[35mOminous::Closer Load (0.3ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32133
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
32134
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36mOminous::WarningCloser Load (0.2ms)[0m [1mSELECT 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[0m
|
32136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
32137
|
+
[1m[36mSQL (1.5ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
32138
|
+
[1m[35mOminous::WarningCloser Exists (0.1ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 09:13:30.919372' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
32140
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
32141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32142
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32143
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m
|
32144
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
32145
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32146
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32147
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32148
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32149
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32150
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32151
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32152
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32153
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32155
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32156
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32157
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
32158
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32159
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
32160
|
+
[1m[35mOminous::Warning Load (3.2ms)[0m 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
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32164
|
+
Rendered text template (0.0ms)
|
32165
|
+
Completed 200 OK in 39ms (Views: 38.0ms | ActiveRecord: 0.0ms)
|
32166
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32168
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32169
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT 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[0m [["id", 1]]
|
32170
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32171
|
+
[1m[36m (1.5ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 09:13:31.037693' WHERE "ominous_closers"."id" = 1[0m
|
32172
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
32173
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
32174
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32175
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32176
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
32178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
32179
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32180
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32181
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32182
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m 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
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT 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[0m [["id", 2]]
|
32184
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32186
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32187
|
+
[1m[36mOminous::Closer Load (1.7ms)[0m [1mSELECT 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[0m [["id", 1]]
|
32188
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32189
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32190
|
+
[1m[35m (22.4ms)[0m rollback transaction
|
32191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32192
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32193
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32194
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32195
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32196
|
+
Processing by ThingsController#create as HTML
|
32197
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
32198
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32199
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
32201
|
+
Redirected to http://test.host/things/3
|
32202
|
+
Completed 302 Found in 12ms (ActiveRecord: 2.6ms)
|
32203
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32204
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
32205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32206
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32207
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32208
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32209
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32210
|
+
Processing by ThingsController#destroy as HTML
|
32211
|
+
Parameters: {"id"=>"1"}
|
32212
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32213
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
32214
|
+
[1m[35mSQL (1.6ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
32215
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32216
|
+
Redirected to http://test.host/things
|
32217
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.7ms)
|
32218
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
32219
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
32220
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32221
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32222
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32223
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32224
|
+
Processing by ThingsController#edit as HTML
|
32225
|
+
Parameters: {"id"=>"1"}
|
32226
|
+
[1m[35mThing Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32230
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32231
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32232
|
+
[1m[35mThing Load (0.5ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32233
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32234
|
+
Processing by ThingsController#index as HTML
|
32235
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
32236
|
+
Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms)
|
32237
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32238
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32239
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32240
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32241
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
32246
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32247
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32248
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32249
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32253
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32254
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT 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[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32259
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32260
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32261
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32265
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
32266
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32267
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32268
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32269
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32270
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
32274
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32275
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32276
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
32280
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32281
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32282
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32283
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32284
|
+
Processing by ThingsController#show as HTML
|
32285
|
+
Parameters: {"id"=>"1"}
|
32286
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32287
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
32288
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32289
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32290
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32291
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32292
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32293
|
+
Processing by ThingsController#show as HTML
|
32294
|
+
Parameters: {"id"=>"2"}
|
32295
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
32296
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32297
|
+
Completed 200 OK in 13ms (Views: 2.4ms | ActiveRecord: 0.3ms)
|
32298
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32300
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32301
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32302
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32306
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
32307
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32308
|
+
Redirected to http://test.host/things/1
|
32309
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
|
32310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32312
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32313
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32314
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32315
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32316
|
+
Processing by ThingsController#index as HTML
|
32317
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
32318
|
+
Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.2ms)
|
32319
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32320
|
+
Connecting to database specified by database.yml
|
32321
|
+
[1m[36m (7.6ms)[0m [1mbegin transaction[0m
|
32322
|
+
[1m[35mFixture Delete (5.3ms)[0m DELETE FROM "ominous_warnings"
|
32323
|
+
[1m[36mFixture Insert (1.0ms)[0m [1mINSERT 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')[0m
|
32324
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
32326
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
32328
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
32330
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
32332
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "things"
|
32333
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
32334
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (219.9ms)[0m [1mcommit transaction[0m
|
32336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32337
|
+
[1m[36mOminous::Warning Load (10.8ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32338
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32339
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32340
|
+
[1m[35mOminous::WarningCloser Exists (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32342
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32344
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32345
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32346
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32347
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32348
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
32349
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32350
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
32351
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32353
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32354
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32355
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32356
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
32357
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32358
|
+
[1m[35m (4.8ms)[0m rollback transaction
|
32359
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32360
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32361
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32362
|
+
[1m[35mOminous::Closer Exists (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32364
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32365
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32366
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32367
|
+
[1m[36m (1.7ms)[0m [1mrollback transaction[0m
|
32368
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32369
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32370
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32371
|
+
[1m[36mOminous::Closer Load (0.4ms)[0m [1mSELECT 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[0m
|
32372
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32374
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32375
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32376
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32377
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
32378
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36mOminous::WarningCloser Load (0.2ms)[0m [1mSELECT 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[0m
|
32380
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32381
|
+
[1m[36mSQL (5.1ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
32382
|
+
[1m[35mOminous::WarningCloser Exists (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 09:14:19.740359' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
32384
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
32385
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32386
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32387
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m
|
32388
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
32389
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32390
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32391
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32394
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32395
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32396
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32397
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32399
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32400
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32401
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
32402
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
32403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32404
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m 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
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32408
|
+
Rendered text template (0.0ms)
|
32409
|
+
Completed 200 OK in 54ms (Views: 53.1ms | ActiveRecord: 0.1ms)
|
32410
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32412
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32413
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT 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[0m [["id", 1]]
|
32414
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32415
|
+
[1m[36m (1.5ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 09:14:19.848068' WHERE "ominous_closers"."id" = 1[0m
|
32416
|
+
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
32417
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
32418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32419
|
+
[1m[36mOminous::Warning Load (0.6ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32420
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
32422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
32423
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
32424
|
+
[1m[35m (0.2ms)[0m begin transaction
|
32425
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32426
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m 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
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT 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[0m [["id", 2]]
|
32428
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32429
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32430
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32431
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT 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[0m [["id", 1]]
|
32432
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32434
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
32435
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32436
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32437
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32438
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32439
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32440
|
+
Processing by ThingsController#create as HTML
|
32441
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
32442
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32443
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
32445
|
+
Redirected to http://test.host/things/3
|
32446
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
32447
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32448
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
32449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32450
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32451
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32452
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32453
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32454
|
+
Processing by ThingsController#destroy as HTML
|
32455
|
+
Parameters: {"id"=>"1"}
|
32456
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32457
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32458
|
+
[1m[35mSQL (0.7ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
32459
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32460
|
+
Redirected to http://test.host/things
|
32461
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
32462
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
32463
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
32464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32465
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32466
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32467
|
+
[1m[36mOminous::Warning Load (2.6ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32468
|
+
Processing by ThingsController#edit as HTML
|
32469
|
+
Parameters: {"id"=>"1"}
|
32470
|
+
[1m[35mThing Load (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32474
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32475
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32476
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32477
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32478
|
+
Processing by ThingsController#index as HTML
|
32479
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
32480
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms)
|
32481
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32482
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32483
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32484
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32485
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32491
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32492
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32493
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32497
|
+
[1m[35mOminous::Warning Load (1.8ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32498
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT 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[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32502
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32503
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32504
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32505
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32509
|
+
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)
|
32510
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32512
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32513
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32514
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
32518
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32519
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32520
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32524
|
+
[1m[35m (0.2ms)[0m begin transaction
|
32525
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32526
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32527
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32528
|
+
Processing by ThingsController#show as HTML
|
32529
|
+
Parameters: {"id"=>"1"}
|
32530
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32531
|
+
Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.1ms)
|
32532
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32533
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32534
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32535
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32536
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32537
|
+
Processing by ThingsController#show as HTML
|
32538
|
+
Parameters: {"id"=>"2"}
|
32539
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
32540
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32541
|
+
Completed 200 OK in 34ms (Views: 30.7ms | ActiveRecord: 0.4ms)
|
32542
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32543
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32544
|
+
[1m[35mThing Load (2.8ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32545
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32546
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m 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
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32550
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32552
|
+
Redirected to http://test.host/things/1
|
32553
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.2ms)
|
32554
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32556
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32557
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32558
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32559
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32560
|
+
Processing by ThingsController#index as HTML
|
32561
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
32562
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
32563
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|