ominous 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.rdoc +4 -0
- data/app/helpers/ominous/warnings_helper.rb +1 -1
- data/lib/ominous/version.rb +5 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +2196 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWJiMjUxMWIxOWY5NzIwNzRjODQ1NzZhZDJiZDVjN2E3ZmZjNTViMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2YyYThhMjcxMzVmYjIxNDhkMmMxZmZhMGUzNDk0NGI3ZGRmM2NjMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDZjZDg1MjkzNDFjMDdkZjEwZDA2Yzg0ZGQzYmQ0YTNkZmEyZTg5NWZjMGFh
|
10
|
+
ZjMyMTdkZDUwYWM3ZjZlNzgzMjU3MmRiZGExNGMwZTQwMGM5NDBlNTgzMDcx
|
11
|
+
ZGJkY2FkYTgzYmVmNTU5Yjc3NWI5MzQwMTUwZjM5YWMxYzdiZjM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTMzYzg0ZDE4NzM2YjI3NWM4NzU1OTExMTkxZWEzNzljMzBmYjVlNmEyYjky
|
14
|
+
NjA2MjM1OGNlYzM1ZjExNDkzNDkzMzU3NGVkMWUxNDg4Njg5MjYxYzM5Y2My
|
15
|
+
MWQ0MWJjNzVmMmJlZGY1N2VhMWYyNDY2NGVjZjkzNGI4YWQ5ZmY=
|
data/README.rdoc
CHANGED
@@ -12,6 +12,10 @@ Add this to your routes to mount the engine within your application:
|
|
12
12
|
|
13
13
|
mount Ominous::Engine => "/ominous"
|
14
14
|
|
15
|
+
Also ensure that you have root path defined in your routes:
|
16
|
+
|
17
|
+
root to: 'some_controller#index'
|
18
|
+
|
15
19
|
Some ominous functionality is provided by JavaScript. To enable this, you
|
16
20
|
need to add this to your app/assets/javascripts/application.js
|
17
21
|
|
@@ -19,7 +19,7 @@ module Ominous
|
|
19
19
|
|
20
20
|
def ominous_closer_url(warning, closer)
|
21
21
|
if closer.closure_method == 'close_and_dismiss_warning'
|
22
|
-
ominous.
|
22
|
+
File.join(main_app.root_url, ominous.dismiss_warning_path(warning))
|
23
23
|
else
|
24
24
|
return closer.url
|
25
25
|
end
|
data/lib/ominous/version.rb
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
module Ominous
|
2
|
-
VERSION = "0.1.
|
2
|
+
VERSION = "0.1.3"
|
3
3
|
end
|
4
4
|
|
5
5
|
# History
|
6
6
|
# =======
|
7
7
|
#
|
8
|
+
# 0.1.3
|
9
|
+
# -----
|
10
|
+
# Better fix for close_and_dismiss_warning closure url when app hosted in sub-uri
|
11
|
+
#
|
8
12
|
# 0.1.2
|
9
13
|
# -----
|
10
14
|
# Fixes bug where close_and_dismiss_warning closure url was relative to root ('/')
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -32561,3 +32561,2199 @@ Processing by ThingsController#index as HTML
|
|
32561
32561
|
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
32562
32562
|
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
32563
32563
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32564
|
+
Connecting to database specified by database.yml
|
32565
|
+
[1m[36m (47.6ms)[0m [1mbegin transaction[0m
|
32566
|
+
[1m[35mFixture Delete (5.0ms)[0m DELETE FROM "ominous_warnings"
|
32567
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:30:43', '2014-08-26 10:30:43')[0m
|
32568
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:30:43', '2014-08-26 10:30:43')
|
32569
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
32570
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:30:43', '2014-08-26 10:30:43', 980190962)
|
32571
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:30:43', '2014-08-26 10:30:43', 298486374)[0m
|
32572
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:30:43', '2014-08-26 10:30:43', 113629430)
|
32573
|
+
[1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
32574
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:30:43', '2014-08-26 10:30:43')
|
32575
|
+
[1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:30:43', '2014-08-26 10:30:43')[0m
|
32576
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "things"
|
32577
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:30:43', '2014-08-26 10:30:43')[0m
|
32578
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:30:43', '2014-08-26 10:30:43')
|
32579
|
+
[1m[36m (127.9ms)[0m [1mcommit transaction[0m
|
32580
|
+
[1m[35m (0.2ms)[0m begin transaction
|
32581
|
+
[1m[36mOminous::Warning Load (15.7ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32582
|
+
[1m[35mOminous::Closer Load (0.3ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32583
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32584
|
+
[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
|
32585
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32586
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32588
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32589
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32590
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32591
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32592
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32593
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
32595
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32596
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32598
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32599
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32600
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32601
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32602
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
32603
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32604
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32605
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32606
|
+
[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
|
32607
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32608
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32609
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32610
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32611
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32613
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32614
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32615
|
+
[1m[36mOminous::Closer Load (0.4ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = 1 ORDER BY position LIMIT 1[0m
|
32616
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32617
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32618
|
+
[1m[35mOminous::Warning Load (2.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32619
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32620
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32621
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
32622
|
+
[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
|
32623
|
+
[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
|
32624
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32625
|
+
[1m[36mSQL (1.2ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
32626
|
+
[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
|
32627
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:30:43.666832' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
32628
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
32629
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32630
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32631
|
+
[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
|
32632
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
32633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32634
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32635
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32636
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
32637
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32638
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32639
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32640
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32641
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
32642
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32643
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32644
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32645
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
32646
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32647
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32648
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32649
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
32650
|
+
Parameters: {"id"=>"1"}
|
32651
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32652
|
+
Rendered text template (0.0ms)
|
32653
|
+
Completed 200 OK in 34ms (Views: 32.2ms | ActiveRecord: 0.1ms)
|
32654
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
32655
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32656
|
+
[1m[35mOminous::Warning Load (0.3ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32657
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
32658
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32659
|
+
[1m[36m (1.4ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:30:43.784275' WHERE "ominous_closers"."id" = 1[0m
|
32660
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
32661
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
32662
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32663
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32664
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
32665
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32666
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
32667
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32668
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32669
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32670
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
32671
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
32672
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32673
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32674
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32675
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
32676
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
32677
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32678
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
32679
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32680
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32681
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32682
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32683
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32684
|
+
Processing by ThingsController#create as HTML
|
32685
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
32686
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32687
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:30:43 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:30:43 UTC +00:00]]
|
32688
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
32689
|
+
Redirected to http://test.host/things/3
|
32690
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.9ms)
|
32691
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32692
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
32693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32694
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32695
|
+
[1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32696
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32697
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32698
|
+
Processing by ThingsController#destroy as HTML
|
32699
|
+
Parameters: {"id"=>"1"}
|
32700
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32701
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32702
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
32703
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32704
|
+
Redirected to http://test.host/things
|
32705
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
|
32706
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
32707
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
32708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32709
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32710
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32711
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32712
|
+
Processing by ThingsController#edit as HTML
|
32713
|
+
Parameters: {"id"=>"1"}
|
32714
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32715
|
+
Rendered things/_form.html.erb (2.6ms)
|
32716
|
+
Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.1ms)
|
32717
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32718
|
+
[1m[35m (3.5ms)[0m begin transaction
|
32719
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32720
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32721
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32722
|
+
Processing by ThingsController#index as HTML
|
32723
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
32724
|
+
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.2ms)
|
32725
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32726
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32727
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32728
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32729
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32730
|
+
Processing by ThingsController#new as HTML
|
32731
|
+
Rendered things/_form.html.erb (2.5ms)
|
32732
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
32733
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
32734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32735
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32736
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32737
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32738
|
+
Processing by ThingsController#show as HTML
|
32739
|
+
Parameters: {"id"=>"1"}
|
32740
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32741
|
+
[1m[35mOminous::Warning Load (14.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32742
|
+
[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
|
32743
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (30.0ms)
|
32744
|
+
Completed 200 OK in 50ms (Views: 34.1ms | ActiveRecord: 14.3ms)
|
32745
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32747
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32748
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32749
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32750
|
+
Processing by ThingsController#show as HTML
|
32751
|
+
Parameters: {"id"=>"1"}
|
32752
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32753
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
32754
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32755
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32756
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32757
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32758
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32759
|
+
Processing by ThingsController#show as HTML
|
32760
|
+
Parameters: {"id"=>"2"}
|
32761
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
32762
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32763
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32764
|
+
[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
|
32765
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (1.9ms)
|
32766
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.5ms)
|
32767
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32768
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32769
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32770
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32771
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32772
|
+
Processing by ThingsController#show as HTML
|
32773
|
+
Parameters: {"id"=>"1"}
|
32774
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32775
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
32776
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
32777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32778
|
+
[1m[36mThing Load (0.8ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32779
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32780
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32781
|
+
Processing by ThingsController#show as HTML
|
32782
|
+
Parameters: {"id"=>"2"}
|
32783
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
32784
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32785
|
+
Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms)
|
32786
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32787
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32788
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32789
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32790
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32791
|
+
Processing by ThingsController#update as HTML
|
32792
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
32793
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32794
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32795
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32796
|
+
Redirected to http://test.host/things/1
|
32797
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
32798
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32800
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32801
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32802
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32803
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
32804
|
+
Processing by ThingsController#index as HTML
|
32805
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
32806
|
+
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
|
32807
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32808
|
+
Connecting to database specified by database.yml
|
32809
|
+
[1m[36m (13.1ms)[0m [1mbegin transaction[0m
|
32810
|
+
[1m[35mFixture Delete (5.3ms)[0m DELETE FROM "ominous_warnings"
|
32811
|
+
[1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:32:19', '2014-08-26 10:32:19')[0m
|
32812
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:32:19', '2014-08-26 10:32:19')
|
32813
|
+
[1m[36mFixture Delete (1.8ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
32814
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:32:19', '2014-08-26 10:32:19', 980190962)
|
32815
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:32:19', '2014-08-26 10:32:19', 298486374)[0m
|
32816
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:32:19', '2014-08-26 10:32:19', 113629430)
|
32817
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
32818
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:32:19', '2014-08-26 10:32:19')
|
32819
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:32:19', '2014-08-26 10:32:19')[0m
|
32820
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "things"
|
32821
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:32:19', '2014-08-26 10:32:19')[0m
|
32822
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:32:19', '2014-08-26 10:32:19')
|
32823
|
+
[1m[36m (133.5ms)[0m [1mcommit transaction[0m
|
32824
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32825
|
+
[1m[36mOminous::Warning Load (7.9ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32826
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32827
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32828
|
+
[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
|
32829
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32830
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32832
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32833
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32834
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32835
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32836
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32837
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32838
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32839
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32840
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32842
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32843
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32844
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32845
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
32846
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
32847
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32848
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32849
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32850
|
+
[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
|
32851
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32852
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32853
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32854
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32855
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32856
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32857
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32858
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32859
|
+
[1m[36mOminous::Closer Load (0.4ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = 1 ORDER BY position LIMIT 1[0m
|
32860
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32861
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32862
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32863
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32864
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32865
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
32866
|
+
[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
|
32867
|
+
[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
|
32868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
32869
|
+
[1m[36mSQL (0.9ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
32870
|
+
[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
|
32871
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:32:20.159744' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
32872
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
32873
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32874
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32875
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
32876
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
32877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32878
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32879
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32880
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
32881
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32882
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32883
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
32884
|
+
[1m[35mOminous::Warning Exists (0.2ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32885
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32886
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32887
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32888
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
32889
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
32890
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32892
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32893
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
32894
|
+
Parameters: {"id"=>"1"}
|
32895
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32896
|
+
Rendered text template (0.0ms)
|
32897
|
+
Completed 200 OK in 60ms (Views: 57.5ms | ActiveRecord: 0.1ms)
|
32898
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32900
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32901
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
32902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32903
|
+
[1m[36m (1.5ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:32:20.276500' WHERE "ominous_closers"."id" = 1[0m
|
32904
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
32905
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
32906
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32907
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32908
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
32909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
32910
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
32911
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32912
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32913
|
+
[1m[36mOminous::Warning Load (0.6ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32914
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
32915
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
32916
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32918
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32919
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
32920
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32922
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
32923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32924
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32925
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32926
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32927
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32928
|
+
Processing by ThingsController#create as HTML
|
32929
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
32930
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
32931
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:32:20 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:32:20 UTC +00:00]]
|
32932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
32933
|
+
Redirected to http://test.host/things/3
|
32934
|
+
Completed 302 Found in 20ms (ActiveRecord: 1.2ms)
|
32935
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32936
|
+
[1m[35m (4.9ms)[0m rollback transaction
|
32937
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32938
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32939
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32940
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32941
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
32942
|
+
Processing by ThingsController#destroy as HTML
|
32943
|
+
Parameters: {"id"=>"1"}
|
32944
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32945
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
32946
|
+
[1m[35mSQL (0.6ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
32947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
32948
|
+
Redirected to http://test.host/things
|
32949
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
|
32950
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
32951
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
32952
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32953
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32954
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32955
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32956
|
+
Processing by ThingsController#edit as HTML
|
32957
|
+
Parameters: {"id"=>"1"}
|
32958
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
32959
|
+
Rendered things/_form.html.erb (16.0ms)
|
32960
|
+
Completed 200 OK in 32ms (Views: 30.3ms | ActiveRecord: 0.3ms)
|
32961
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32963
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32964
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32965
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32966
|
+
Processing by ThingsController#index as HTML
|
32967
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
32968
|
+
Completed 200 OK in 61ms (Views: 60.0ms | ActiveRecord: 0.1ms)
|
32969
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32970
|
+
[1m[35m (0.0ms)[0m begin transaction
|
32971
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
32972
|
+
[1m[35mThing Load (2.6ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
32973
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
32974
|
+
Processing by ThingsController#new as HTML
|
32975
|
+
Rendered things/_form.html.erb (13.6ms)
|
32976
|
+
Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.0ms)
|
32977
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32978
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32979
|
+
[1m[35mThing Load (8.6ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32980
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32981
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32982
|
+
Processing by ThingsController#show as HTML
|
32983
|
+
Parameters: {"id"=>"1"}
|
32984
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32985
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
32986
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
32987
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (62.4ms)
|
32988
|
+
Completed 200 OK in 69ms (Views: 66.8ms | ActiveRecord: 0.5ms)
|
32989
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32991
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
32992
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
32993
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
32994
|
+
Processing by ThingsController#show as HTML
|
32995
|
+
Parameters: {"id"=>"1"}
|
32996
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
32997
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
32998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
32999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33000
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33001
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33002
|
+
[1m[35mOminous::Warning Load (3.7ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33003
|
+
Processing by ThingsController#show as HTML
|
33004
|
+
Parameters: {"id"=>"2"}
|
33005
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
33006
|
+
[1m[35mOminous::Warning Exists (0.3ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33007
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33008
|
+
[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
|
33009
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (1.8ms)
|
33010
|
+
Completed 200 OK in 18ms (Views: 9.8ms | ActiveRecord: 0.7ms)
|
33011
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33013
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33014
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33015
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33016
|
+
Processing by ThingsController#show as HTML
|
33017
|
+
Parameters: {"id"=>"1"}
|
33018
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33019
|
+
Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 0.1ms)
|
33020
|
+
[1m[36m (9.3ms)[0m [1mrollback transaction[0m
|
33021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33022
|
+
[1m[36mThing Load (0.4ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33023
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33024
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33025
|
+
Processing by ThingsController#show as HTML
|
33026
|
+
Parameters: {"id"=>"2"}
|
33027
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
33028
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33029
|
+
Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 0.3ms)
|
33030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33032
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33033
|
+
[1m[36mThing Load (2.8ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33034
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33035
|
+
Processing by ThingsController#update as HTML
|
33036
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
33037
|
+
[1m[36mThing Load (0.5ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33038
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33039
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33040
|
+
Redirected to http://test.host/things/1
|
33041
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
33042
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33043
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33044
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33045
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33046
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33047
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33048
|
+
Processing by ThingsController#index as HTML
|
33049
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things"
|
33050
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
|
33051
|
+
[1m[36m (3.4ms)[0m [1mrollback transaction[0m
|
33052
|
+
Connecting to database specified by database.yml
|
33053
|
+
[1m[36m (3.5ms)[0m [1mbegin transaction[0m
|
33054
|
+
[1m[35mFixture Delete (5.1ms)[0m DELETE FROM "ominous_warnings"
|
33055
|
+
[1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:32:39', '2014-08-26 10:32:39')[0m
|
33056
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:32:39', '2014-08-26 10:32:39')
|
33057
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
33058
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:32:39', '2014-08-26 10:32:39', 980190962)
|
33059
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:32:39', '2014-08-26 10:32:39', 298486374)[0m
|
33060
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:32:39', '2014-08-26 10:32:39', 113629430)
|
33061
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
33062
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:32:39', '2014-08-26 10:32:39')
|
33063
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:32:39', '2014-08-26 10:32:39')[0m
|
33064
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "things"
|
33065
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:32:39', '2014-08-26 10:32:39')[0m
|
33066
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:32:39', '2014-08-26 10:32:39')
|
33067
|
+
[1m[36m (138.1ms)[0m [1mcommit transaction[0m
|
33068
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33069
|
+
[1m[36mOminous::Warning Load (4.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33070
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33071
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33072
|
+
[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
|
33073
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33074
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33076
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33077
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33078
|
+
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
33079
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33080
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33081
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33082
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33083
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33084
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33085
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33086
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33087
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33088
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33089
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33090
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33092
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33093
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33094
|
+
[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
|
33095
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33097
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33098
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33099
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33100
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33101
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33102
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33103
|
+
[1m[36mOminous::Closer Load (0.4ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = 1 ORDER BY position LIMIT 1[0m
|
33104
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33106
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33107
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33108
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33109
|
+
[1m[36mOminous::Closer Load (2.8ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
33110
|
+
[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
|
33111
|
+
[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
|
33112
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33113
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
33114
|
+
[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
|
33115
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:32:40.101539' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
33116
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
33117
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33118
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33119
|
+
[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
|
33120
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
33121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33122
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33123
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33124
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33125
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33126
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33127
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33128
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33129
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33130
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33131
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33132
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33133
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
33134
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33135
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33136
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33137
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
33138
|
+
Parameters: {"id"=>"1"}
|
33139
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33140
|
+
Rendered text template (0.0ms)
|
33141
|
+
Completed 200 OK in 56ms (Views: 53.8ms | ActiveRecord: 0.1ms)
|
33142
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33143
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33144
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33145
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
33146
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33147
|
+
[1m[36m (1.4ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:32:40.239593' WHERE "ominous_closers"."id" = 1[0m
|
33148
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
33149
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
33150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33151
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33152
|
+
[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 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
33153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33155
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33157
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33158
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
33159
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
33160
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33162
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33163
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
33164
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33165
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33166
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33168
|
+
[1m[35mThing Load (0.4ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33169
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33170
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33171
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33172
|
+
Processing by ThingsController#create as HTML
|
33173
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
33174
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33175
|
+
[1m[36mSQL (3.3ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:32:40 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:32:40 UTC +00:00]]
|
33176
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
33177
|
+
Redirected to http://test.host/things/3
|
33178
|
+
Completed 302 Found in 11ms (ActiveRecord: 3.4ms)
|
33179
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33180
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
33181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33182
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33183
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33184
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33185
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33186
|
+
Processing by ThingsController#destroy as HTML
|
33187
|
+
Parameters: {"id"=>"1"}
|
33188
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33189
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33190
|
+
[1m[35mSQL (1.2ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
33191
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33192
|
+
Redirected to http://test.host/things
|
33193
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
|
33194
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "things"
|
33195
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
33196
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33197
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33198
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33199
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33200
|
+
Processing by ThingsController#edit as HTML
|
33201
|
+
Parameters: {"id"=>"1"}
|
33202
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33203
|
+
Rendered things/_form.html.erb (5.4ms)
|
33204
|
+
Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.1ms)
|
33205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33207
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33208
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33209
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33210
|
+
Processing by ThingsController#index as HTML
|
33211
|
+
[1m[35mThing Load (5.7ms)[0m SELECT "things".* FROM "things"
|
33212
|
+
Completed 200 OK in 10ms (Views: 3.8ms | ActiveRecord: 5.7ms)
|
33213
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33214
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33215
|
+
[1m[36mThing Load (0.4ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33216
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33217
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33218
|
+
Processing by ThingsController#new as HTML
|
33219
|
+
Rendered things/_form.html.erb (1.3ms)
|
33220
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
33221
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33223
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33224
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33225
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33226
|
+
Processing by ThingsController#show as HTML
|
33227
|
+
Parameters: {"id"=>"1"}
|
33228
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33229
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33230
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
33231
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (32.3ms)
|
33232
|
+
Completed 200 OK in 37ms (Views: 36.2ms | ActiveRecord: 0.4ms)
|
33233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33235
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33236
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33237
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33238
|
+
Processing by ThingsController#show as HTML
|
33239
|
+
Parameters: {"id"=>"1"}
|
33240
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33241
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
33242
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33244
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33245
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33246
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33247
|
+
Processing by ThingsController#show as HTML
|
33248
|
+
Parameters: {"id"=>"2"}
|
33249
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
33250
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33251
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33252
|
+
[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
|
33253
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.0ms)
|
33254
|
+
Completed 200 OK in 26ms (Views: 4.9ms | ActiveRecord: 0.5ms)
|
33255
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33257
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33258
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33259
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33260
|
+
Processing by ThingsController#show as HTML
|
33261
|
+
Parameters: {"id"=>"1"}
|
33262
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33263
|
+
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
33264
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33266
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33267
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33268
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33269
|
+
Processing by ThingsController#show as HTML
|
33270
|
+
Parameters: {"id"=>"2"}
|
33271
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
33272
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33273
|
+
Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 0.2ms)
|
33274
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
33275
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
33276
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33277
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33278
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33279
|
+
Processing by ThingsController#update as HTML
|
33280
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
33281
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33282
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33283
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33284
|
+
Redirected to http://test.host/things/1
|
33285
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.3ms)
|
33286
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33287
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
33288
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33289
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33290
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33291
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33292
|
+
Processing by ThingsController#index as HTML
|
33293
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
33294
|
+
Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.2ms)
|
33295
|
+
[1m[36m (4.5ms)[0m [1mrollback transaction[0m
|
33296
|
+
Connecting to database specified by database.yml
|
33297
|
+
[1m[36m (5.2ms)[0m [1mbegin transaction[0m
|
33298
|
+
[1m[35mFixture Delete (7.6ms)[0m DELETE FROM "ominous_warnings"
|
33299
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:33:39', '2014-08-26 10:33:39')[0m
|
33300
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:33:39', '2014-08-26 10:33:39')
|
33301
|
+
[1m[36mFixture Delete (1.3ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
33302
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:33:39', '2014-08-26 10:33:39', 980190962)
|
33303
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:33:39', '2014-08-26 10:33:39', 298486374)[0m
|
33304
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:33:39', '2014-08-26 10:33:39', 113629430)
|
33305
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
33306
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:33:39', '2014-08-26 10:33:39')
|
33307
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:33:39', '2014-08-26 10:33:39')[0m
|
33308
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "things"
|
33309
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:33:39', '2014-08-26 10:33:39')[0m
|
33310
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:33:39', '2014-08-26 10:33:39')
|
33311
|
+
[1m[36m (150.7ms)[0m [1mcommit transaction[0m
|
33312
|
+
[1m[35m (0.2ms)[0m begin transaction
|
33313
|
+
[1m[36mOminous::Warning Load (5.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33314
|
+
[1m[35mOminous::Closer Load (0.4ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33315
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33316
|
+
[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
|
33317
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33318
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33319
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33320
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33321
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33322
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33323
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33324
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33325
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33326
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33327
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33328
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33329
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33330
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33331
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33332
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33333
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33334
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
33335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33336
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33337
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33338
|
+
[1m[35mOminous::Closer Exists (3.7ms)[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
|
33339
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33340
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33341
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33342
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33343
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33344
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33345
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33346
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33347
|
+
[1m[36mOminous::Closer Load (0.4ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = 1 ORDER BY position LIMIT 1[0m
|
33348
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33350
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33351
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33352
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33353
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
33354
|
+
[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
|
33355
|
+
[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
|
33356
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33357
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
33358
|
+
[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
|
33359
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:33:39.677891' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
33360
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
33361
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33362
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33363
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
33364
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
33365
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33366
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33367
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33368
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33370
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33371
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33372
|
+
[1m[35mOminous::Warning Exists (0.0ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33373
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33374
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33375
|
+
[1m[36mOminous::Warning Load (0.3ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33376
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33377
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
33378
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33380
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33381
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
33382
|
+
Parameters: {"id"=>"1"}
|
33383
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33384
|
+
Rendered text template (0.0ms)
|
33385
|
+
Completed 200 OK in 36ms (Views: 34.2ms | ActiveRecord: 0.1ms)
|
33386
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33388
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33389
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
33390
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33391
|
+
[1m[36m (1.2ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:33:39.779162' WHERE "ominous_closers"."id" = 1[0m
|
33392
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33393
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
33394
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33395
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33396
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
33397
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33399
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
33400
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33401
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33402
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
33403
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
33404
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33405
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33406
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33407
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
33408
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33409
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33410
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33412
|
+
[1m[35mThing Load (0.4ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33413
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33414
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33415
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33416
|
+
Processing by ThingsController#create as HTML
|
33417
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
33418
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33419
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:33:39 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:33:39 UTC +00:00]]
|
33420
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33421
|
+
Redirected to http://test.host/things/3
|
33422
|
+
Completed 302 Found in 24ms (ActiveRecord: 2.2ms)
|
33423
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33424
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
33425
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33426
|
+
[1m[35mThing Load (0.4ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33427
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33428
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33429
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33430
|
+
Processing by ThingsController#destroy as HTML
|
33431
|
+
Parameters: {"id"=>"1"}
|
33432
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33433
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33434
|
+
[1m[35mSQL (1.2ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
33435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33436
|
+
Redirected to http://test.host/things
|
33437
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
|
33438
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
33439
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
33440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33441
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33442
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33443
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33444
|
+
Processing by ThingsController#edit as HTML
|
33445
|
+
Parameters: {"id"=>"1"}
|
33446
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33447
|
+
Rendered things/_form.html.erb (2.5ms)
|
33448
|
+
Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.1ms)
|
33449
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33451
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33452
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33453
|
+
[1m[36mOminous::Warning Load (1.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33454
|
+
Processing by ThingsController#index as HTML
|
33455
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
33456
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
33457
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33459
|
+
[1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33460
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33461
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33462
|
+
Processing by ThingsController#new as HTML
|
33463
|
+
Rendered things/_form.html.erb (2.9ms)
|
33464
|
+
Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
|
33465
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33467
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33468
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33469
|
+
[1m[35mOminous::Warning Load (29.4ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33470
|
+
Processing by ThingsController#show as HTML
|
33471
|
+
Parameters: {"id"=>"1"}
|
33472
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33473
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33474
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
33475
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (28.3ms)
|
33476
|
+
Completed 200 OK in 39ms (Views: 37.6ms | ActiveRecord: 0.5ms)
|
33477
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33479
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33480
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33481
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33482
|
+
Processing by ThingsController#show as HTML
|
33483
|
+
Parameters: {"id"=>"1"}
|
33484
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33485
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
33486
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33487
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33488
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33489
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33490
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33491
|
+
Processing by ThingsController#show as HTML
|
33492
|
+
Parameters: {"id"=>"2"}
|
33493
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
33494
|
+
[1m[35mOminous::Warning Exists (0.2ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33495
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33496
|
+
[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
|
33497
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.3ms)
|
33498
|
+
Completed 200 OK in 29ms (Views: 5.0ms | ActiveRecord: 0.6ms)
|
33499
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33500
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33501
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33502
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33503
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33504
|
+
Processing by ThingsController#show as HTML
|
33505
|
+
Parameters: {"id"=>"1"}
|
33506
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33507
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
33508
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33509
|
+
[1m[35m (0.2ms)[0m begin transaction
|
33510
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33511
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33512
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33513
|
+
Processing by ThingsController#show as HTML
|
33514
|
+
Parameters: {"id"=>"2"}
|
33515
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
33516
|
+
[1m[36mOminous::Warning Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33517
|
+
Completed 200 OK in 9ms (Views: 3.3ms | ActiveRecord: 0.4ms)
|
33518
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
33519
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33520
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33521
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33522
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33523
|
+
Processing by ThingsController#update as HTML
|
33524
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
33525
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33526
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33527
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33528
|
+
Redirected to http://test.host/things/1
|
33529
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
33530
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33532
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33533
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33534
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33535
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33536
|
+
Processing by ThingsController#index as HTML
|
33537
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things"
|
33538
|
+
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms)
|
33539
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33540
|
+
Connecting to database specified by database.yml
|
33541
|
+
[1m[36m (46.0ms)[0m [1mbegin transaction[0m
|
33542
|
+
[1m[35mFixture Delete (5.1ms)[0m DELETE FROM "ominous_warnings"
|
33543
|
+
[1m[36mFixture Insert (2.0ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:34:04', '2014-08-26 10:34:04')[0m
|
33544
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:34:04', '2014-08-26 10:34:04')
|
33545
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
33546
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:34:04', '2014-08-26 10:34:04', 980190962)
|
33547
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:34:04', '2014-08-26 10:34:04', 298486374)[0m
|
33548
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:34:04', '2014-08-26 10:34:04', 113629430)
|
33549
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
33550
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:34:04', '2014-08-26 10:34:04')
|
33551
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:34:04', '2014-08-26 10:34:04')[0m
|
33552
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "things"
|
33553
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:34:04', '2014-08-26 10:34:04')[0m
|
33554
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:34:04', '2014-08-26 10:34:04')
|
33555
|
+
[1m[36m (177.1ms)[0m [1mcommit transaction[0m
|
33556
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33557
|
+
[1m[36mOminous::Warning Load (3.7ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33558
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33559
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33560
|
+
[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
|
33561
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33562
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33564
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33565
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33566
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33567
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33568
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33569
|
+
[1m[36m (1.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33570
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33571
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33572
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33573
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33574
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33575
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33576
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
33577
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33578
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33579
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33580
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33581
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33582
|
+
[1m[35mOminous::Closer Exists (0.1ms)[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
|
33583
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33584
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33585
|
+
[1m[36mOminous::Warning Load (2.5ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33586
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33587
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33588
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33589
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33590
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33591
|
+
[1m[36mOminous::Closer Load (4.0ms)[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
|
33592
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33593
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33594
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33595
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33596
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33597
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
33598
|
+
[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
|
33599
|
+
[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
|
33600
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
33601
|
+
[1m[36mSQL (1.5ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
33602
|
+
[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
|
33603
|
+
[1m[36m (27.7ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:34:04.508565' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
33604
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
33605
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33606
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33607
|
+
[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
|
33608
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
33609
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33610
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33611
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33612
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33613
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33614
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33615
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33616
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33617
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
33618
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33619
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33620
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33621
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
33622
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33623
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33624
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33625
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
33626
|
+
Parameters: {"id"=>"1"}
|
33627
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33628
|
+
Rendered text template (0.0ms)
|
33629
|
+
Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.1ms)
|
33630
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33631
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33632
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33633
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
33634
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33635
|
+
[1m[36m (1.2ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:34:04.608795' WHERE "ominous_closers"."id" = 1[0m
|
33636
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33637
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
33638
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33639
|
+
[1m[36mOminous::Warning Load (0.4ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33640
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
33641
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33642
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
33643
|
+
[1m[36m (23.3ms)[0m [1mrollback transaction[0m
|
33644
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33645
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33646
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
33647
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
33648
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33649
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33650
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33651
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
33652
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33653
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33654
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33655
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33656
|
+
[1m[35mThing Load (0.5ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33657
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33658
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33659
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33660
|
+
Processing by ThingsController#create as HTML
|
33661
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
33662
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33663
|
+
[1m[36mSQL (2.9ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:34:04 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:34:04 UTC +00:00]]
|
33664
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
33665
|
+
Redirected to http://test.host/things/3
|
33666
|
+
Completed 302 Found in 9ms (ActiveRecord: 3.1ms)
|
33667
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33668
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
33669
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33670
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33671
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33672
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33673
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33674
|
+
Processing by ThingsController#destroy as HTML
|
33675
|
+
Parameters: {"id"=>"1"}
|
33676
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33677
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33678
|
+
[1m[35mSQL (3.0ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
33679
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33680
|
+
Redirected to http://test.host/things
|
33681
|
+
Completed 302 Found in 8ms (ActiveRecord: 3.2ms)
|
33682
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
33683
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
33684
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33685
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33686
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33687
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33688
|
+
Processing by ThingsController#edit as HTML
|
33689
|
+
Parameters: {"id"=>"1"}
|
33690
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33691
|
+
Rendered things/_form.html.erb (6.0ms)
|
33692
|
+
Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.1ms)
|
33693
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33695
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33696
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33697
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33698
|
+
Processing by ThingsController#index as HTML
|
33699
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
33700
|
+
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
33701
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33702
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33703
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33704
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33705
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33706
|
+
Processing by ThingsController#new as HTML
|
33707
|
+
Rendered things/_form.html.erb (1.8ms)
|
33708
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
33709
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
33710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33711
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33712
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33713
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33714
|
+
Processing by ThingsController#show as HTML
|
33715
|
+
Parameters: {"id"=>"1"}
|
33716
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33717
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33718
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
33719
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (33.6ms)
|
33720
|
+
Completed 200 OK in 38ms (Views: 36.7ms | ActiveRecord: 0.4ms)
|
33721
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33722
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33723
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33724
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33725
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33726
|
+
Processing by ThingsController#show as HTML
|
33727
|
+
Parameters: {"id"=>"1"}
|
33728
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33729
|
+
Completed 200 OK in 24ms (Views: 22.9ms | ActiveRecord: 0.1ms)
|
33730
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33731
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33732
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33733
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33734
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33735
|
+
Processing by ThingsController#show as HTML
|
33736
|
+
Parameters: {"id"=>"2"}
|
33737
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
33738
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33739
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33740
|
+
[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
|
33741
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (3.1ms)
|
33742
|
+
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.4ms)
|
33743
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33744
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33745
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33746
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33747
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33748
|
+
Processing by ThingsController#show as HTML
|
33749
|
+
Parameters: {"id"=>"1"}
|
33750
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33751
|
+
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)
|
33752
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
33753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33754
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33755
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33756
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33757
|
+
Processing by ThingsController#show as HTML
|
33758
|
+
Parameters: {"id"=>"2"}
|
33759
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
33760
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33761
|
+
Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 0.3ms)
|
33762
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33763
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33764
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33765
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33766
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33767
|
+
Processing by ThingsController#update as HTML
|
33768
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
33769
|
+
[1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33770
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33771
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33772
|
+
Redirected to http://test.host/things/1
|
33773
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
33774
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
33775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33776
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33777
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33778
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33779
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33780
|
+
Processing by ThingsController#index as HTML
|
33781
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things"
|
33782
|
+
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
|
33783
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33784
|
+
Connecting to database specified by database.yml
|
33785
|
+
[1m[36m (3.9ms)[0m [1mbegin transaction[0m
|
33786
|
+
[1m[35mFixture Delete (5.2ms)[0m DELETE FROM "ominous_warnings"
|
33787
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:34:38', '2014-08-26 10:34:38')[0m
|
33788
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:34:38', '2014-08-26 10:34:38')
|
33789
|
+
[1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
33790
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:34:38', '2014-08-26 10:34:38', 980190962)
|
33791
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:34:38', '2014-08-26 10:34:38', 298486374)[0m
|
33792
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:34:38', '2014-08-26 10:34:38', 113629430)
|
33793
|
+
[1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
33794
|
+
[1m[35mFixture Insert (0.7ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:34:38', '2014-08-26 10:34:38')
|
33795
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:34:38', '2014-08-26 10:34:38')[0m
|
33796
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "things"
|
33797
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:34:38', '2014-08-26 10:34:38')[0m
|
33798
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:34:38', '2014-08-26 10:34:38')
|
33799
|
+
[1m[36m (222.5ms)[0m [1mcommit transaction[0m
|
33800
|
+
[1m[35m (0.2ms)[0m begin transaction
|
33801
|
+
[1m[36mOminous::Warning Load (4.7ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33802
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33803
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33804
|
+
[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
|
33805
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33806
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33807
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33808
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33809
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33810
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33811
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33812
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33813
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33814
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33815
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33816
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33817
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33818
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33819
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33820
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33821
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
33822
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33824
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33825
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33826
|
+
[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
|
33827
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33828
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33829
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33830
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33831
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33832
|
+
[1m[35m (18.3ms)[0m begin transaction
|
33833
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33834
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33835
|
+
[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
|
33836
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33838
|
+
[1m[35mOminous::Warning Load (3.7ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33839
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33840
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33841
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
33842
|
+
[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
|
33843
|
+
[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
|
33844
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33845
|
+
[1m[36mSQL (1.6ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
33846
|
+
[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
|
33847
|
+
[1m[36m (2.7ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:34:39.485941' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
33848
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
33849
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33850
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33851
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
33852
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
33853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33854
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33855
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33856
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
33857
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33858
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33859
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
33860
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33861
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33863
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33864
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
33865
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
33866
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33867
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33868
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33869
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
33870
|
+
Parameters: {"id"=>"1"}
|
33871
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33872
|
+
Rendered text template (0.0ms)
|
33873
|
+
Completed 200 OK in 27ms (Views: 25.8ms | ActiveRecord: 0.1ms)
|
33874
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33875
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33876
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33877
|
+
[1m[36mOminous::Closer Load (0.4ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
33878
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33879
|
+
[1m[36m (1.2ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:34:39.603850' WHERE "ominous_closers"."id" = 1[0m
|
33880
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
33881
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
33882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33883
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33884
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
33885
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33886
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33887
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
33888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33889
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33890
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
33891
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
33892
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33894
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33895
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
33896
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33897
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33898
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33900
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33901
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33902
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33903
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33904
|
+
Processing by ThingsController#create as HTML
|
33905
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
33906
|
+
[1m[35m (3.9ms)[0m SAVEPOINT active_record_1
|
33907
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:34:39 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:34:39 UTC +00:00]]
|
33908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33909
|
+
Redirected to http://test.host/things/3
|
33910
|
+
Completed 302 Found in 11ms (ActiveRecord: 5.8ms)
|
33911
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33912
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
33913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33914
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33915
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33916
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33917
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
33918
|
+
Processing by ThingsController#destroy as HTML
|
33919
|
+
Parameters: {"id"=>"1"}
|
33920
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33921
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33922
|
+
[1m[35mSQL (1.8ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
33923
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33924
|
+
Redirected to http://test.host/things
|
33925
|
+
Completed 302 Found in 6ms (ActiveRecord: 2.0ms)
|
33926
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
33927
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
33928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33929
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33930
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33931
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33932
|
+
Processing by ThingsController#edit as HTML
|
33933
|
+
Parameters: {"id"=>"1"}
|
33934
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33935
|
+
Rendered things/_form.html.erb (3.6ms)
|
33936
|
+
Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 0.1ms)
|
33937
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33938
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33939
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33940
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33941
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33942
|
+
Processing by ThingsController#index as HTML
|
33943
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
33944
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
33945
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33946
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33947
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33948
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33949
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33950
|
+
Processing by ThingsController#new as HTML
|
33951
|
+
Rendered things/_form.html.erb (1.6ms)
|
33952
|
+
Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.0ms)
|
33953
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33955
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33956
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33957
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33958
|
+
Processing by ThingsController#show as HTML
|
33959
|
+
Parameters: {"id"=>"1"}
|
33960
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33961
|
+
[1m[35mOminous::Warning Load (0.3ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33962
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
33963
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (30.1ms)
|
33964
|
+
Completed 200 OK in 37ms (Views: 35.6ms | ActiveRecord: 0.5ms)
|
33965
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33967
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33968
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33969
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33970
|
+
Processing by ThingsController#show as HTML
|
33971
|
+
Parameters: {"id"=>"1"}
|
33972
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33973
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
33974
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33976
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
33977
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
33978
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
33979
|
+
Processing by ThingsController#show as HTML
|
33980
|
+
Parameters: {"id"=>"2"}
|
33981
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
33982
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
33983
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
33984
|
+
[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
|
33985
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.1ms)
|
33986
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.5ms)
|
33987
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33988
|
+
[1m[35m (0.3ms)[0m begin transaction
|
33989
|
+
[1m[36mThing Load (2.6ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33990
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
33991
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
33992
|
+
Processing by ThingsController#show as HTML
|
33993
|
+
Parameters: {"id"=>"1"}
|
33994
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
33995
|
+
Completed 200 OK in 69ms (Views: 67.7ms | ActiveRecord: 0.1ms)
|
33996
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33997
|
+
[1m[35m (1.1ms)[0m begin transaction
|
33998
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
33999
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34000
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34001
|
+
Processing by ThingsController#show as HTML
|
34002
|
+
Parameters: {"id"=>"2"}
|
34003
|
+
[1m[35mThing Load (32.6ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
34004
|
+
[1m[36mOminous::Warning Exists (6.8ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34005
|
+
Completed 200 OK in 47ms (Views: 2.4ms | ActiveRecord: 39.4ms)
|
34006
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34008
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34009
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34010
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34011
|
+
Processing by ThingsController#update as HTML
|
34012
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
34013
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34014
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
34015
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34016
|
+
Redirected to http://test.host/things/1
|
34017
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.3ms)
|
34018
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
34019
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
34020
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34021
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34022
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34023
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34024
|
+
Processing by ThingsController#index as HTML
|
34025
|
+
[1m[35mThing Load (0.4ms)[0m SELECT "things".* FROM "things"
|
34026
|
+
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.4ms)
|
34027
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34028
|
+
Connecting to database specified by database.yml
|
34029
|
+
[1m[36m (3.4ms)[0m [1mbegin transaction[0m
|
34030
|
+
[1m[35mFixture Delete (5.0ms)[0m DELETE FROM "ominous_warnings"
|
34031
|
+
[1m[36mFixture Insert (2.0ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:35:10', '2014-08-26 10:35:10')[0m
|
34032
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:35:10', '2014-08-26 10:35:10')
|
34033
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
34034
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:35:10', '2014-08-26 10:35:10', 980190962)
|
34035
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:35:10', '2014-08-26 10:35:10', 298486374)[0m
|
34036
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:35:10', '2014-08-26 10:35:10', 113629430)
|
34037
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
34038
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:35:10', '2014-08-26 10:35:10')
|
34039
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:35:10', '2014-08-26 10:35:10')[0m
|
34040
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "things"
|
34041
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:35:10', '2014-08-26 10:35:10')[0m
|
34042
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:35:10', '2014-08-26 10:35:10')
|
34043
|
+
[1m[36m (179.2ms)[0m [1mcommit transaction[0m
|
34044
|
+
[1m[35m (0.3ms)[0m begin transaction
|
34045
|
+
[1m[36mOminous::Warning Load (7.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34046
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34047
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34048
|
+
[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
|
34049
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34050
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34051
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
34052
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34053
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34054
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34055
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34056
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34057
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34058
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34059
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34060
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34061
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34062
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34063
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34064
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34065
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34066
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34067
|
+
[1m[36m (22.9ms)[0m [1mbegin transaction[0m
|
34068
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34069
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34070
|
+
[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
|
34071
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34072
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34073
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34074
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34075
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34076
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34077
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34078
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34079
|
+
[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
|
34080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34082
|
+
[1m[35mOminous::Warning Load (2.9ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34083
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34084
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34085
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
34086
|
+
[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
|
34087
|
+
[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
|
34088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34089
|
+
[1m[36mSQL (1.8ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
34090
|
+
[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
|
34091
|
+
[1m[36m (1.3ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:35:10.662864' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
34092
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
34093
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34094
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34095
|
+
[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
|
34096
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
34097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34098
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34099
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34102
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34103
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34104
|
+
[1m[35mOminous::Warning Exists (0.2ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34105
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
34106
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34107
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34108
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34109
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
34110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34112
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34113
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
34114
|
+
Parameters: {"id"=>"1"}
|
34115
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34116
|
+
Rendered text template (0.0ms)
|
34117
|
+
Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.1ms)
|
34118
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
34119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34120
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34121
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
34122
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34123
|
+
[1m[36m (1.2ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:35:10.763651' WHERE "ominous_closers"."id" = 1[0m
|
34124
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
34125
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
34126
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34127
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34128
|
+
[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 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
34129
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34130
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34131
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34133
|
+
[1m[36mOminous::Warning Load (0.3ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34134
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
34135
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
34136
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34138
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34139
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
34140
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34142
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
34143
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34144
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34145
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34146
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34147
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34148
|
+
Processing by ThingsController#create as HTML
|
34149
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
34150
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34151
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:35:10 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:35:10 UTC +00:00]]
|
34152
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34153
|
+
Redirected to http://test.host/things/3
|
34154
|
+
Completed 302 Found in 12ms (ActiveRecord: 2.3ms)
|
34155
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34156
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
34157
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34158
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34159
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34160
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34161
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34162
|
+
Processing by ThingsController#destroy as HTML
|
34163
|
+
Parameters: {"id"=>"1"}
|
34164
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34165
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34166
|
+
[1m[35mSQL (1.2ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
34167
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34168
|
+
Redirected to http://test.host/things
|
34169
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.4ms)
|
34170
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
34171
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
34172
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34173
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34174
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34175
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34176
|
+
Processing by ThingsController#edit as HTML
|
34177
|
+
Parameters: {"id"=>"1"}
|
34178
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34179
|
+
Rendered things/_form.html.erb (3.8ms)
|
34180
|
+
Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.1ms)
|
34181
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34182
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34183
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34184
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34185
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34186
|
+
Processing by ThingsController#index as HTML
|
34187
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
34188
|
+
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.1ms)
|
34189
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34191
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34192
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34193
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34194
|
+
Processing by ThingsController#new as HTML
|
34195
|
+
Rendered things/_form.html.erb (3.7ms)
|
34196
|
+
Completed 200 OK in 13ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
34197
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34198
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34199
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34200
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34201
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34202
|
+
Processing by ThingsController#show as HTML
|
34203
|
+
Parameters: {"id"=>"1"}
|
34204
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34205
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34206
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
34207
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (31.2ms)
|
34208
|
+
Completed 200 OK in 65ms (Views: 58.5ms | ActiveRecord: 0.5ms)
|
34209
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34211
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34212
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34213
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34214
|
+
Processing by ThingsController#show as HTML
|
34215
|
+
Parameters: {"id"=>"1"}
|
34216
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34217
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
34218
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34220
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34221
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34222
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34223
|
+
Processing by ThingsController#show as HTML
|
34224
|
+
Parameters: {"id"=>"2"}
|
34225
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
34226
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34227
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34228
|
+
[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
|
34229
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.3ms)
|
34230
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.5ms)
|
34231
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34232
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34233
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34234
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34235
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34236
|
+
Processing by ThingsController#show as HTML
|
34237
|
+
Parameters: {"id"=>"1"}
|
34238
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34239
|
+
Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
34240
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34241
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34242
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34243
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34244
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34245
|
+
Processing by ThingsController#show as HTML
|
34246
|
+
Parameters: {"id"=>"2"}
|
34247
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
34248
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34249
|
+
Completed 200 OK in 16ms (Views: 3.6ms | ActiveRecord: 0.3ms)
|
34250
|
+
[1m[35m (3.1ms)[0m rollback transaction
|
34251
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34252
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34253
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34254
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34255
|
+
Processing by ThingsController#update as HTML
|
34256
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
34257
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34258
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34259
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34260
|
+
Redirected to http://test.host/things/1
|
34261
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.3ms)
|
34262
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
34263
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
34264
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34265
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34266
|
+
[1m[35mOminous::Warning Load (8.5ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34267
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34268
|
+
Processing by ThingsController#index as HTML
|
34269
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
34270
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
|
34271
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34272
|
+
Connecting to database specified by database.yml
|
34273
|
+
[1m[36m (7.5ms)[0m [1mbegin transaction[0m
|
34274
|
+
[1m[35mFixture Delete (4.7ms)[0m DELETE FROM "ominous_warnings"
|
34275
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:41:21', '2014-08-26 10:41:21')[0m
|
34276
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:41:21', '2014-08-26 10:41:21')
|
34277
|
+
[1m[36mFixture Delete (2.0ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
34278
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:41:21', '2014-08-26 10:41:21', 980190962)
|
34279
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:41:21', '2014-08-26 10:41:21', 298486374)[0m
|
34280
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:41:21', '2014-08-26 10:41:21', 113629430)
|
34281
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
34282
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:41:21', '2014-08-26 10:41:21')
|
34283
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:41:21', '2014-08-26 10:41:21')[0m
|
34284
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "things"
|
34285
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:41:21', '2014-08-26 10:41:21')[0m
|
34286
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:41:21', '2014-08-26 10:41:21')
|
34287
|
+
[1m[36m (202.0ms)[0m [1mcommit transaction[0m
|
34288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34289
|
+
[1m[36mOminous::Warning Load (4.9ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34290
|
+
[1m[35mOminous::Closer Load (0.3ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34291
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34292
|
+
[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
|
34293
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34294
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34295
|
+
[1m[36m (20.7ms)[0m [1mbegin transaction[0m
|
34296
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34297
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34298
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34299
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34300
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34301
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34303
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34304
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34306
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34307
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34308
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34309
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34310
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
34311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34312
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34313
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34314
|
+
[1m[35mOminous::Closer Exists (0.1ms)[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
|
34315
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34316
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34317
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34318
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34319
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34320
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34321
|
+
[1m[36mOminous::Warning Load (1.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34322
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34323
|
+
[1m[36mOminous::Closer Load (0.4ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = 1 ORDER BY position LIMIT 1[0m
|
34324
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34325
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34326
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34327
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34328
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34329
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
34330
|
+
[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
|
34331
|
+
[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
|
34332
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34333
|
+
[1m[36mSQL (1.3ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
34334
|
+
[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
|
34335
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:41:21.884598' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
34336
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
34337
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34338
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34339
|
+
[1m[36mOminous::Closer Load (20.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
|
34340
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
34341
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34342
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34343
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34344
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34346
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34347
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34348
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34349
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34350
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34351
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34352
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34353
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
34354
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34355
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34356
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34357
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
34358
|
+
Parameters: {"id"=>"1"}
|
34359
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34360
|
+
Rendered text template (0.0ms)
|
34361
|
+
Completed 200 OK in 32ms (Views: 31.2ms | ActiveRecord: 0.1ms)
|
34362
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34363
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34364
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34365
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
34366
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34367
|
+
[1m[36m (1.3ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:41:22.012849' WHERE "ominous_closers"."id" = 1[0m
|
34368
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34369
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
34370
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34371
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34372
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
34373
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
34374
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34375
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34376
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34377
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34378
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
34379
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
34380
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34382
|
+
[1m[35mOminous::Warning Load (1.8ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34383
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
34384
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34386
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34388
|
+
[1m[35mThing Load (0.9ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34389
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34390
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34391
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34392
|
+
Processing by ThingsController#create as HTML
|
34393
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
34394
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34395
|
+
[1m[36mSQL (25.0ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:41:22 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:41:22 UTC +00:00]]
|
34396
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34397
|
+
Redirected to http://test.host/things/3
|
34398
|
+
Completed 302 Found in 32ms (ActiveRecord: 25.1ms)
|
34399
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34400
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
34401
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34402
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34403
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34404
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34405
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34406
|
+
Processing by ThingsController#destroy as HTML
|
34407
|
+
Parameters: {"id"=>"1"}
|
34408
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34409
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34410
|
+
[1m[35mSQL (1.7ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
34411
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34412
|
+
Redirected to http://test.host/things
|
34413
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
|
34414
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
34415
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
34416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34417
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34418
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34419
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34420
|
+
Processing by ThingsController#edit as HTML
|
34421
|
+
Parameters: {"id"=>"1"}
|
34422
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34423
|
+
Rendered things/_form.html.erb (2.4ms)
|
34424
|
+
Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.1ms)
|
34425
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34427
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34428
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34429
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34430
|
+
Processing by ThingsController#index as HTML
|
34431
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
34432
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms)
|
34433
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34435
|
+
[1m[36mThing Load (1.9ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34436
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34437
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34438
|
+
Processing by ThingsController#new as HTML
|
34439
|
+
Rendered things/_form.html.erb (2.5ms)
|
34440
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
34441
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34443
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34444
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34445
|
+
[1m[35mOminous::Warning Load (0.6ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34446
|
+
Processing by ThingsController#show as HTML
|
34447
|
+
Parameters: {"id"=>"1"}
|
34448
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34449
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34450
|
+
[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
|
34451
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (30.0ms)
|
34452
|
+
Completed 200 OK in 54ms (Views: 52.6ms | ActiveRecord: 0.4ms)
|
34453
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34455
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34456
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34457
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34458
|
+
Processing by ThingsController#show as HTML
|
34459
|
+
Parameters: {"id"=>"1"}
|
34460
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34461
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
34462
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34463
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34464
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34465
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34466
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34467
|
+
Processing by ThingsController#show as HTML
|
34468
|
+
Parameters: {"id"=>"2"}
|
34469
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
34470
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34471
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34472
|
+
[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
|
34473
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.7ms)
|
34474
|
+
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.6ms)
|
34475
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
34476
|
+
[1m[35m (0.3ms)[0m begin transaction
|
34477
|
+
[1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34478
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34479
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34480
|
+
Processing by ThingsController#show as HTML
|
34481
|
+
Parameters: {"id"=>"1"}
|
34482
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34483
|
+
Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.1ms)
|
34484
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34485
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34486
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34487
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34488
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34489
|
+
Processing by ThingsController#show as HTML
|
34490
|
+
Parameters: {"id"=>"2"}
|
34491
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
34492
|
+
[1m[36mOminous::Warning Exists (4.4ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34493
|
+
Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 4.5ms)
|
34494
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34495
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34496
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34497
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34498
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34499
|
+
Processing by ThingsController#update as HTML
|
34500
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
34501
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34502
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34503
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34504
|
+
Redirected to http://test.host/things/1
|
34505
|
+
Completed 302 Found in 65ms (ActiveRecord: 0.3ms)
|
34506
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
34507
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34508
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34509
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34510
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34511
|
+
[1m[36mOminous::Warning Exists (11.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34512
|
+
Processing by ThingsController#index as HTML
|
34513
|
+
[1m[35mThing Load (2.5ms)[0m SELECT "things".* FROM "things"
|
34514
|
+
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 2.5ms)
|
34515
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34516
|
+
Connecting to database specified by database.yml
|
34517
|
+
[1m[36m (3.4ms)[0m [1mbegin transaction[0m
|
34518
|
+
[1m[35mFixture Delete (5.6ms)[0m DELETE FROM "ominous_warnings"
|
34519
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "ominous_warnings" ("id", "name", "title", "description", "created_at", "updated_at") VALUES (1, 'thing_alert', 'Thing Alert', 'An alert about things', '2014-08-26 10:43:00', '2014-08-26 10:43:00')[0m
|
34520
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warnings" ("id", "name", "title", "created_at", "updated_at") VALUES (2, 'other_alert', 'Other Alert', '2014-08-26 10:43:00', '2014-08-26 10:43:00')
|
34521
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "ominous_warning_closers"[0m
|
34522
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 1, 1, '2014-08-26 10:43:00', '2014-08-26 10:43:00', 980190962)
|
34523
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (1, 2, 2, '2014-08-26 10:43:00', '2014-08-26 10:43:00', 298486374)[0m
|
34524
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_warning_closers" ("warning_id", "closer_id", "position", "created_at", "updated_at", "id") VALUES (2, 2, 1, '2014-08-26 10:43:00', '2014-08-26 10:43:00', 113629430)
|
34525
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "ominous_closers"[0m
|
34526
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ominous_closers" ("id", "name", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (1, 'closer_one', 'close_and_dismiss_warning', 'Closer one', 'Click to close', '2014-08-26 10:43:00', '2014-08-26 10:43:00')
|
34527
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ominous_closers" ("id", "name", "url", "closure_method", "message", "link_text", "created_at", "updated_at") VALUES (2, 'closer_two', 'http://undervale.co.uk', 'redirect', 'Visit site', 'Click here to redirect', '2014-08-26 10:43:00', '2014-08-26 10:43:00')[0m
|
34528
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "things"
|
34529
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (1, 'Foo', 'f', '2014-08-26 10:43:00', '2014-08-26 10:43:00')[0m
|
34530
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "name", "has_warning", "created_at", "updated_at") VALUES (2, 'Bar', 't', '2014-08-26 10:43:00', '2014-08-26 10:43:00')
|
34531
|
+
[1m[36m (178.0ms)[0m [1mcommit transaction[0m
|
34532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34533
|
+
[1m[36mOminous::Warning Load (5.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34534
|
+
[1m[35mOminous::Closer Load (0.2ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34535
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34536
|
+
[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
|
34537
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34538
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34539
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34540
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34541
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34542
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34543
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34544
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34545
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34546
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34547
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34548
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34549
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34550
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34551
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34552
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34553
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
34554
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34556
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34557
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34558
|
+
[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
|
34559
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34561
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34562
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34563
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34564
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34565
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34566
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34567
|
+
[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
|
34568
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34569
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34570
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34571
|
+
[1m[36mOminous::Closer Load (0.0ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34572
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34573
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 2]]
|
34574
|
+
[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
|
34575
|
+
[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
|
34576
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34577
|
+
[1m[36mSQL (1.2ms)[0m [1mUPDATE "ominous_warning_closers" SET position = (position + 1) WHERE ("ominous_warning_closers"."warning_id" = 1 AND position < 2)[0m
|
34578
|
+
[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
|
34579
|
+
[1m[36m (1.0ms)[0m [1mUPDATE "ominous_warning_closers" SET "position" = 1, "updated_at" = '2014-08-26 10:43:00.700281' WHERE "ominous_warning_closers"."id" = 298486374[0m
|
34580
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ominous_warning_closers" WHERE ("ominous_warning_closers"."warning_id" = 1 AND position = 1)
|
34581
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34582
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34583
|
+
[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
|
34584
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
34585
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34586
|
+
[1m[35mOminous::Warning Load (3.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34587
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34588
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34589
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34590
|
+
[1m[35mOminous::Warning Load (0.2ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34591
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1[0m [["id", 1]]
|
34592
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34593
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34594
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34595
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34596
|
+
[1m[35mOminous::Closer Load (0.0ms)[0m SELECT "ominous_closers".* FROM "ominous_closers" WHERE "ominous_closers"."id" = ? LIMIT 1 [["id", 1]]
|
34597
|
+
[1m[36mOminous::Warning Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'does_not_exist' LIMIT 1[0m
|
34598
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34599
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34600
|
+
[1m[35mOminous::Warning Load (0.3ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34601
|
+
Processing by Ominous::WarningsController#dismiss as HTML
|
34602
|
+
Parameters: {"id"=>"1"}
|
34603
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34604
|
+
Rendered text template (0.0ms)
|
34605
|
+
Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.1ms)
|
34606
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34607
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34608
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34609
|
+
[1m[36mOminous::Closer Load (0.2ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
34610
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34611
|
+
[1m[36m (1.2ms)[0m [1mUPDATE "ominous_closers" SET "start_hidden" = 't', "updated_at" = '2014-08-26 10:43:00.796917' WHERE "ominous_closers"."id" = 1[0m
|
34612
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
34613
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
34614
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34615
|
+
[1m[36mOminous::Warning Load (0.2ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34616
|
+
[1m[35mOminous::Closer Load (0.1ms)[0m SELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
34617
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
34618
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
34619
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34621
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34622
|
+
[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 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1 [["id", 1]]
|
34623
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 2]]
|
34624
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34625
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34626
|
+
[1m[35mOminous::Warning Load (1.7ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34627
|
+
[1m[36mOminous::Closer Load (0.1ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 AND "ominous_closers"."id" = ? ORDER BY position LIMIT 1[0m [["id", 1]]
|
34628
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34629
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34630
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34631
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
34632
|
+
[1m[35mThing Load (0.4ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34633
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34634
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34635
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34636
|
+
Processing by ThingsController#create as HTML
|
34637
|
+
Parameters: {"thing"=>{"name"=>"Foo"}}
|
34638
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34639
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "things" ("created_at", "has_warning", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 10:43:00 UTC +00:00], ["has_warning", nil], ["name", "Foo"], ["updated_at", Tue, 26 Aug 2014 10:43:00 UTC +00:00]]
|
34640
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
34641
|
+
Redirected to http://test.host/things/3
|
34642
|
+
Completed 302 Found in 12ms (ActiveRecord: 2.8ms)
|
34643
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34644
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
34645
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34646
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34647
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34648
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34649
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
34650
|
+
Processing by ThingsController#destroy as HTML
|
34651
|
+
Parameters: {"id"=>"1"}
|
34652
|
+
[1m[35mThing Load (4.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34653
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34654
|
+
[1m[35mSQL (1.2ms)[0m DELETE FROM "things" WHERE "things"."id" = ? [["id", 1]]
|
34655
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34656
|
+
Redirected to http://test.host/things
|
34657
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.3ms)
|
34658
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
34659
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
34660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34661
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34662
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34663
|
+
[1m[36mOminous::Warning Load (2.5ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34664
|
+
Processing by ThingsController#edit as HTML
|
34665
|
+
Parameters: {"id"=>"1"}
|
34666
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34667
|
+
Rendered things/_form.html.erb (2.8ms)
|
34668
|
+
Completed 200 OK in 38ms (Views: 36.9ms | ActiveRecord: 0.1ms)
|
34669
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34670
|
+
[1m[35m (0.0ms)[0m begin transaction
|
34671
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34672
|
+
[1m[35mThing Load (7.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34673
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34674
|
+
Processing by ThingsController#index as HTML
|
34675
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things"
|
34676
|
+
Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
34677
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34678
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34679
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34680
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34681
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34682
|
+
Processing by ThingsController#new as HTML
|
34683
|
+
Rendered things/_form.html.erb (1.4ms)
|
34684
|
+
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
|
34685
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34687
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34688
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34689
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34690
|
+
Processing by ThingsController#show as HTML
|
34691
|
+
Parameters: {"id"=>"1"}
|
34692
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34693
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34694
|
+
[1m[36mOminous::Closer Load (0.3ms)[0m [1mSELECT DISTINCT "ominous_closers".* FROM "ominous_closers" INNER JOIN "ominous_warning_closers" ON "ominous_closers"."id" = "ominous_warning_closers"."closer_id" WHERE "ominous_warning_closers"."warning_id" = 1 ORDER BY position[0m
|
34695
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (53.4ms)
|
34696
|
+
Completed 200 OK in 61ms (Views: 59.0ms | ActiveRecord: 0.5ms)
|
34697
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34698
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34699
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34700
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34701
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34702
|
+
Processing by ThingsController#show as HTML
|
34703
|
+
Parameters: {"id"=>"1"}
|
34704
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34705
|
+
Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
34706
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34708
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34709
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34710
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34711
|
+
Processing by ThingsController#show as HTML
|
34712
|
+
Parameters: {"id"=>"2"}
|
34713
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "2"]]
|
34714
|
+
[1m[35mOminous::Warning Exists (0.1ms)[0m SELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1
|
34715
|
+
[1m[36mOminous::Warning Load (0.1ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34716
|
+
[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
|
34717
|
+
Rendered /home/rob/web/ominous/app/views/ominous/warnings/_list.html.erb (2.2ms)
|
34718
|
+
Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 0.5ms)
|
34719
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
34720
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34721
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34722
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34723
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34724
|
+
Processing by ThingsController#show as HTML
|
34725
|
+
Parameters: {"id"=>"1"}
|
34726
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
34727
|
+
Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
34728
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
34729
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34730
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
34731
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 2]]
|
34732
|
+
[1m[36mOminous::Warning Load (0.0ms)[0m [1mSELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1[0m [["id", 1]]
|
34733
|
+
Processing by ThingsController#show as HTML
|
34734
|
+
Parameters: {"id"=>"2"}
|
34735
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "2"]]
|
34736
|
+
[1m[36mOminous::Warning Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34737
|
+
Completed 200 OK in 12ms (Views: 6.9ms | ActiveRecord: 0.4ms)
|
34738
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34740
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34741
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34742
|
+
[1m[35mOminous::Warning Load (0.0ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34743
|
+
Processing by ThingsController#update as HTML
|
34744
|
+
Parameters: {"thing"=>{"name"=>"Foo"}, "id"=>"1"}
|
34745
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
34746
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
34747
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
34748
|
+
Redirected to http://test.host/things/1
|
34749
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
34750
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
34751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34752
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
34753
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 2]]
|
34754
|
+
[1m[35mOminous::Warning Load (0.1ms)[0m SELECT "ominous_warnings".* FROM "ominous_warnings" WHERE "ominous_warnings"."id" = ? LIMIT 1 [["id", 1]]
|
34755
|
+
[1m[36mOminous::Warning Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "ominous_warnings" WHERE "ominous_warnings"."name" = 'thing_alert' LIMIT 1[0m
|
34756
|
+
Processing by ThingsController#index as HTML
|
34757
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
34758
|
+
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)
|
34759
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|