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