test/dummy/log/test.log in errdo-0.12.11 vs test/dummy/log/test.log in errdo-0.12.12

- old
+ new

@@ -27749,5 +27749,18597 @@ Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:10:29.607702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]]  (0.2ms) rollback transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms) PRAGMA foreign_keys +  (0.2ms) PRAGMA foreign_keys = OFF +  (0.1ms) begin transaction + Fixture Delete (0.4ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$HAPiQu01ubl2BW9jiOn5dOjuHNjk/lM.lStgtdmJ4g.4htUEwncVG', '2018-01-05 23:19:14.324310', '2018-01-05 23:19:14.324310', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$iuxqGikrg0LZPPlmPoe6seDSuQ7ZLcHMWQAenkYekwgB0IJeONOw6', '2018-01-05 23:19:14.324310', '2018-01-05 23:19:14.324310', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$ucFzVzgrmxCVB83RiKrz7OaO33MFjBF8ZBjLqkLAgyssqJLZanLXC', 1, '2018-01-05 23:19:14.324310', '2018-01-05 23:19:14.324310', 160683007) +  (10.0ms) commit transaction +  (0.1ms) PRAGMA foreign_keys = 1 +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan allowed user should be able to get the errors index. +---------------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT ? [["backtrace_hash", "c6774fe2a301bd770286cdb7764abc2698878b68"], ["LIMIT", 1]] + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "last_occurred_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["backtrace", "---\n- error1\n"], ["backtrace_hash", "c6774fe2a301bd770286cdb7764abc2698878b68"], ["last_occurred_at", "2018-01-05 23:19:14.211920"], ["created_at", "2018-01-05 23:19:14.426240"], ["updated_at", "2018-01-05 23:19:14.426240"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:19:14.444723"], ["updated_at", "2018-01-05 23:19:14.444723"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = ? AND ("errors"."id" != ?) LIMIT ? [["backtrace_hash", "c6774fe2a301bd770286cdb7764abc2698878b68"], ["id", 1], ["LIMIT", 1]] + SQL (0.1ms) UPDATE "errors" SET "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_occurred_at", "2018-01-05 23:19:14.444723"], ["updated_at", "2018-01-05 23:19:14.449381"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = ? AND ("errors"."id" != ?) LIMIT ? [["backtrace_hash", "c6774fe2a301bd770286cdb7764abc2698878b68"], ["id", 1], ["LIMIT", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 227792459], ["LIMIT", 1]] +  (0.1ms) rollback transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) PRAGMA foreign_keys +  (0.1ms) PRAGMA foreign_keys = OFF +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$OtPTBBfeAR95vr4EhThxxOcIunjnBUjnUujdIHBHU.qw/8lwWL6oW', '2018-01-05 23:19:31.061302', '2018-01-05 23:19:31.061302', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$KgMjRJP8tfGisnDZuUKpB.kMcHnXoE6uBONZjS0P4utM.Nv4jyWYi', '2018-01-05 23:19:31.061302', '2018-01-05 23:19:31.061302', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$Dax2/YT0YJeLE9z/9bG1LOKyBF8YAoko1pxmgtb5WPt6fiEpoC6he', 1, '2018-01-05 23:19:31.061302', '2018-01-05 23:19:31.061302', 160683007) +  (5.3ms) commit transaction +  (0.1ms) PRAGMA foreign_keys = 1 +  (0.0ms) begin transaction +-------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should default to email. +-------------------------------------------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 227792459], ["LIMIT", 1]] +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should correctly respond to changing the user_show_page. +-------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 227792459], ["LIMIT", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should default to nil when nothing set. +--------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 227792459], ["LIMIT", 1]] +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should correctly respond to changing the user_string_method. +-------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 227792459], ["LIMIT", 1]] +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific index selected. +--------------------------------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) PRAGMA foreign_keys +  (0.1ms) PRAGMA foreign_keys = OFF +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$HHqbd1kFFKrXmLCDAcZ8.udbaa7xAUsfphJTs77a49Fqiw2p12QIK', '2018-01-05 23:19:55.358507', '2018-01-05 23:19:55.358507', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$AqpkxL.WirUuzDN2Njw.8eXQMJq1i5s36zFpZ9UFzcglArZAw9Mvq', '2018-01-05 23:19:55.358507', '2018-01-05 23:19:55.358507', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$xGqCcfUWE9AlR7MPJbu73.QpLiRFiJFtFj7EWo/SJDpKofWh5ePuC', 1, '2018-01-05 23:19:55.358507', '2018-01-05 23:19:55.358507', 160683007) +  (6.3ms) commit transaction +  (0.2ms) PRAGMA foreign_keys = 1 +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error with the current user if a user is logged in. +------------------------------------------------------------------------------------------------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 227792459], ["LIMIT", 1]] +  (0.1ms) rollback transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) PRAGMA foreign_keys +  (0.0ms) PRAGMA foreign_keys = OFF +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$.JJj4SBin/.I.RYDu3jwcu48tvGDfvLMKq0eT2A4vw0AvV05Ad44G', '2018-01-05 23:20:14.005750', '2018-01-05 23:20:14.005750', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$x4jr.VxKc3x.QjKFBoyGz.HsguJdEOr5ule9OoK5E4js5hOE2wnda', '2018-01-05 23:20:14.005750', '2018-01-05 23:20:14.005750', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$GJKk5jsybka.9lLDsc2La.BxHFz2Iuy7CtgpRco/kaX9FxZIMNmjK', 1, '2018-01-05 23:20:14.005750', '2018-01-05 23:20:14.005750', 160683007) +  (5.0ms) commit transaction +  (0.1ms) PRAGMA foreign_keys = 1 +  (0.0ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) PRAGMA foreign_keys +  (0.0ms) PRAGMA foreign_keys = OFF +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$dyewaFyHuXGsQmwYmkdSNO.F.6/O9MO/uPG/vu.0Vi7tylzlI41wG', '2018-01-05 23:20:44.519596', '2018-01-05 23:20:44.519596', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$nVDTCJsK5168g5a2s3G0yO3aO.ALOwv6R1de.kU/vC7XVtMUN0db6', '2018-01-05 23:20:44.519596', '2018-01-05 23:20:44.519596', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$PRjNSld/vO7acRZkERJed.VOD8tzXqB..uXkqFn1g9bsv9s.T0bDm', 1, '2018-01-05 23:20:44.519596', '2018-01-05 23:20:44.519596', 160683007) +  (5.6ms) commit transaction +  (0.1ms) PRAGMA foreign_keys = 1 +  (0.0ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) rollback transaction +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) PRAGMA foreign_keys +  (0.0ms) PRAGMA foreign_keys = OFF +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$Jz2fH/87iT0vwALGq03SPusX3m0vqcYisvm50u57TmL6anZ6o7sKm', '2018-01-05 23:22:34.445237', '2018-01-05 23:22:34.445237', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$RF.oPSKVlj8jxLB/wp65NOfRXXDyS9egqPlw0A7Fk6Mif1pO0IDzm', '2018-01-05 23:22:34.445237', '2018-01-05 23:22:34.445237', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$FpgDH0o7iVIFeT3AeOsuPeIz3TM76J4Kz3goX8QxGCOE1JcnbjYkK', 1, '2018-01-05 23:22:34.445237', '2018-01-05 23:22:34.445237', 160683007) +  (5.3ms) commit transaction +  (0.1ms) PRAGMA foreign_keys = 1 +  (0.0ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:22:34 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + +app/controllers/static_controller.rb:7:in `generic_error' +actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' +actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action' +actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' +activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks' +actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' +activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument' +activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument' +activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument' +actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' +activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action' +actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process' +actionview (5.1.4) lib/action_view/rendering.rb:30:in `process' +actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch' +actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +warden (1.2.7) lib/warden/manager.rb:36:in `block in call' +warden (1.2.7) lib/warden/manager.rb:35:in `catch' +warden (1.2.7) lib/warden/manager.rb:35:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +rack-test (0.8.2) lib/rack/mock_session.rb:29:in `request' +rack-test (0.8.2) lib/rack/test.rb:251:in `process_request' +rack-test (0.8.2) lib/rack/test.rb:119:in `request' +actionpack (5.1.4) lib/action_dispatch/testing/integration.rb:261:in `process' +actionpack (5.1.4) lib/action_dispatch/testing/integration.rb:16:in `get' +actionpack (5.1.4) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' +/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' +activesupport (5.1.4) lib/active_support/testing/assertions.rb:82:in `assert_difference' +/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' +/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' +/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' +minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' +minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' +minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' +minitest (5.11.1) lib/minitest.rb:265:in `time_it' +minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' +minitest (5.11.1) lib/minitest.rb:360:in `on_signal' +minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' +minitest (5.11.1) lib/minitest/test.rb:88:in `run' +minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' +minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' +minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' +minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' +minitest (5.11.1) lib/minitest.rb:320:in `each' +minitest (5.11.1) lib/minitest.rb:320:in `block in run' +minitest (5.11.1) lib/minitest.rb:360:in `on_signal' +minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' +minitest (5.11.1) lib/minitest.rb:319:in `run' +railties (5.1.4) lib/rails/test_unit/line_filtering.rb:9:in `run' +minitest (5.11.1) lib/minitest.rb:159:in `block in __run' +minitest (5.11.1) lib/minitest.rb:159:in `map' +minitest (5.11.1) lib/minitest.rb:159:in `__run' +minitest (5.11.1) lib/minitest.rb:136:in `run' +minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT ? [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT ? [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["LIMIT", 1]] + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/basic_implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:186:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/rendering.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:131:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/rescue.rb:20:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/params_wrapper.rb:252:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-5.1.4/lib/active_record/railties/controller_runtime.rb:22:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:124:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-5.1.4/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal.rb:189:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal.rb:253:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:49:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:31:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:50:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:834:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/etag.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/conditional_get.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/head.rb:12:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:232:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:226:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/cookies.rb:613:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:26:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:97:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:24:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/debug_exceptions.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/show_exceptions.rb:31:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/rack/logger.rb:36:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/rack/logger.rb:24:in `block in\n call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/rack/logger.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/remote_ip.rb:79:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/request_id.rb:25:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/executor.rb:12:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:522:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.8.2/lib/rack/mock_session.rb:29:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.8.2/lib/rack/test.rb:251:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.8.2/lib/rack/test.rb:119:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/testing/integration.rb:261:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/testing/integration.rb:16:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/testing/integration.rb:348:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/assertions.rb:82:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/test_unit/line_filtering.rb:9:in\n `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:22:34.565404"], ["updated_at", "2018-01-05 23:22:34.565404"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms) PRAGMA foreign_keys +  (0.1ms) PRAGMA foreign_keys = OFF +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$QbKmxYvcyCN6U/nRxx0q0eFN24Isc3ijJYPSLv6iIlSje6xjUKrbC', '2018-01-05 23:24:09.236990', '2018-01-05 23:24:09.236990', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$VRxRCkWU4uBZHQR3v0RI8e9eI.kjWI54ciaFOjNXQbk2Zb4l99z7G', '2018-01-05 23:24:09.236990', '2018-01-05 23:24:09.236990', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$ySAKIvJ.UweRQF86CrvFCutHR3ujcSNxMx1hUSz01.7894eONC2Cm', 1, '2018-01-05 23:24:09.236990', '2018-01-05 23:24:09.236990', 160683007) +  (5.1ms) commit transaction +  (0.1ms) PRAGMA foreign_keys = 1 +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: ErrorsIntegration should render a 500 error page. +-------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:24:09 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + +app/controllers/static_controller.rb:7:in `generic_error' +actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' +actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action' +actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' +activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks' +actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' +activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument' +activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument' +activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument' +actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' +actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' +activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action' +actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process' +actionview (5.1.4) lib/action_view/rendering.rb:30:in `process' +actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch' +actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each' +actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve' +actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call' +warden (1.2.7) lib/warden/manager.rb:36:in `block in call' +warden (1.2.7) lib/warden/manager.rb:35:in `catch' +warden (1.2.7) lib/warden/manager.rb:35:in `call' +rack (2.0.3) lib/rack/etag.rb:25:in `call' +rack (2.0.3) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.3) lib/rack/head.rb:12:in `call' +rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context' +rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' +activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks' +actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' +railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged' +activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged' +railties (5.1.4) lib/rails/rack/logger.rb:24:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call' +rack (2.0.3) lib/rack/method_override.rb:22:in `call' +rack (2.0.3) lib/rack/runtime.rb:22:in `call' +activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call' +actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call' +rack (2.0.3) lib/rack/sendfile.rb:111:in `call' +railties (5.1.4) lib/rails/engine.rb:522:in `call' +rack-test (0.8.2) lib/rack/mock_session.rb:29:in `request' +rack-test (0.8.2) lib/rack/test.rb:251:in `process_request' +rack-test (0.8.2) lib/rack/test.rb:119:in `request' +actionpack (5.1.4) lib/action_dispatch/testing/integration.rb:261:in `process' +actionpack (5.1.4) lib/action_dispatch/testing/integration.rb:16:in `get' +actionpack (5.1.4) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' +/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block in <class:ErrorsIntegrationTest>' +/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec' +/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block in create_test_from_should_hash' +minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' +minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' +minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' +minitest (5.11.1) lib/minitest.rb:265:in `time_it' +minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' +minitest (5.11.1) lib/minitest.rb:360:in `on_signal' +minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' +minitest (5.11.1) lib/minitest/test.rb:88:in `run' +minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' +minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' +minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' +minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' +minitest (5.11.1) lib/minitest.rb:320:in `each' +minitest (5.11.1) lib/minitest.rb:320:in `block in run' +minitest (5.11.1) lib/minitest.rb:360:in `on_signal' +minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' +minitest (5.11.1) lib/minitest.rb:319:in `run' +railties (5.1.4) lib/rails/test_unit/line_filtering.rb:9:in `run' +minitest (5.11.1) lib/minitest.rb:159:in `block in __run' +minitest (5.11.1) lib/minitest.rb:159:in `map' +minitest (5.11.1) lib/minitest.rb:159:in `__run' +minitest (5.11.1) lib/minitest.rb:136:in `run' +minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT ? [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT ? [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["LIMIT", 1]] + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/basic_implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:186:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/rendering.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:131:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/rescue.rb:20:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/params_wrapper.rb:252:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-5.1.4/lib/active_record/railties/controller_runtime.rb:22:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:124:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-5.1.4/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal.rb:189:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal.rb:253:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:49:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:31:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:50:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:834:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/etag.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/conditional_get.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/head.rb:12:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:232:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:226:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/cookies.rb:613:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:26:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:97:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:24:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/debug_exceptions.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/show_exceptions.rb:31:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/rack/logger.rb:36:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/rack/logger.rb:24:in `block in\n call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/rack/logger.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/remote_ip.rb:79:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/request_id.rb:25:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/executor.rb:12:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:522:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.8.2/lib/rack/mock_session.rb:29:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.8.2/lib/rack/test.rb:251:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.8.2/lib/rack/test.rb:119:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/testing/integration.rb:261:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/testing/integration.rb:16:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/testing/integration.rb:348:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/railties-5.1.4/lib/rails/test_unit/line_filtering.rb:9:in\n `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:24:09.353348"], ["updated_at", "2018-01-05 23:24:09.353348"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not combine two similar but different errors. +----------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.0ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$lpuQUs1RiMeC/9zVI8776e.vWplpdPrdDUxDP2SMFnjl6jP4s1DfC', '2018-01-05 23:25:28', '2018-01-05 23:25:28', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$JQtIobqlWtonK.SijJS9ee8H3tM0pj1IkiwqzaGr.TA3BevD.JzXu', '2018-01-05 23:25:28', '2018-01-05 23:25:28', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$UYa/QFxvvWak9dBLJFvE2uFa5Ewm66lwl6EK5AAUCkA39HE5iJxva', 1, '2018-01-05 23:25:28', '2018-01-05 23:25:28', 160683007) +  (5.0ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------- +Errdo::ErrorsControllerTest: test_: actions update should change the status. +----------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error1\n"], ["backtrace_hash", "c6774fe2a301bd770286cdb7764abc2698878b68"], ["created_at", "2018-01-05 23:25:28.861579"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:28.861579"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:28.875525"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:28.875525"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error1\n"], ["last_occurred_at", "2018-01-05 23:25:28.875525"], ["updated_at", "2018-01-05 23:25:28.880160"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error1\n"], ["updated_at", "2018-01-05 23:25:28.883450"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "status" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error1\n"], ["status", 1], ["updated_at", "2018-01-05 23:25:28.889757"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.3ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:25:28.948831') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.3ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:25:28.948831') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (51.1ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (4.1ms) +Completed 200 OK in 385ms (Views: 374.8ms | ActiveRecord: 2.1ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------- +ErrorOccurrenceTest: test_: callbacks should update last_occurrence of error when created. +------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error2\n"], ["backtrace_hash", "177ea0ad92f01de4faaa5ca73e8e620092af76d1"], ["created_at", "2018-01-05 23:25:29.277296"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:29.277296"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.279615"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:29.279615"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error2\n"], ["last_occurred_at", "2018-01-05 23:25:29.279615"], ["updated_at", "2018-01-05 23:25:29.281896"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error2\n"], ["updated_at", "2018-01-05 23:25:29.283338"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------- +ErrorOccurrenceTest: test_: model linkages should have correct relations. +-------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.285309"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:29.285309"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should correctly respond to changing the user_show_page. +-------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should default to nil when nothing set. +--------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should correctly respond to changing the user_string_method. +-------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should default to email. +-------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------- +InstallGeneratorTest: test_: InstallGenerator should assert initializer is properly created. +--------------------------------------------------------------------------------------------- +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should make sure that migrations are produced. +------------------------------------------------------------------------------------------------------- +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should revoke correctly. +--------------------------------------------------------------------------------- +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should throw error if table name already exists. +--------------------------------------------------------------------------------------------------------- +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and scrub the params. +---------------------------------------------------------------------------------------------------- + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "importance", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:82:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "cee8810db22966c8023ed850bd959c1e06409fbc"], ["created_at", "2018-01-05 23:25:29.319447"], ["exception_class_name", "None"], ["exception_message", "Cool beans2"], ["importance", "info"], ["updated_at", "2018-01-05 23:25:29.319447"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.322118"], ["error_id", 1], ["header_values", nil], ["param_values", "---\n:password: \"...\"\n"], ["updated_at", "2018-01-05 23:25:29.322118"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:82:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.322118"], ["updated_at", "2018-01-05 23:25:29.325093"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:82:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.328149"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.error even when nothing is set. +----------------------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "updated_at") VALUES (?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:29:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:25:29.334141"], ["exception_class_name", "None"], ["updated_at", "2018-01-05 23:25:29.334141"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.337292"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:29.337292"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:29:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.337292"], ["updated_at", "2018-01-05 23:25:29.339156"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:29:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.341923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.error. +---------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:20:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:18:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"], ["created_at", "2018-01-05 23:25:29.351042"], ["exception_class_name", "RuntimeError"], ["exception_message", "Cool beans"], ["updated_at", "2018-01-05 23:25:29.351042"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.353771"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:29.353771"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:20:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:18:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.353771"], ["updated_at", "2018-01-05 23:25:29.355979"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:20:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:18:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.358831"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.warn. +--------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "importance", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:37:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:36:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:25:29.366152"], ["exception_class_name", "None"], ["importance", "warning"], ["updated_at", "2018-01-05 23:25:29.366152"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.369119"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:29.369119"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:37:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:36:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.369119"], ["updated_at", "2018-01-05 23:25:29.370958"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:37:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:36:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.372961"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.4ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error with no exception and set params. +---------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "last_experiencer_id", "last_experiencer_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:75:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "0cb232d4e942cb440ecc02ee10363093c70c8950"], ["created_at", "2018-01-05 23:25:29.381425"], ["exception_class_name", "None"], ["exception_message", "Cool beans"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:25:29.381425"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.384159"], ["error_id", 1], ["experiencer_id", 160683007], ["experiencer_type", "User"], ["header_values", nil], ["param_values", "---\n:user: !ruby/object:User\n attributes:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$UYa/QFxvvWak9dBLJFvE2uFa5Ewm66lwl6EK5AAUCkA39HE5iJxva\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: 2018-01-05 23:25:28.000000000 Z\n updated_at: 2018-01-05 23:25:28.000000000 Z\n:data: Here's some data\n"], ["updated_at", "2018-01-05 23:25:29.384159"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:75:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.384159"], ["updated_at", "2018-01-05 23:25:29.387231"]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:75:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.389858"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error with the correct params. +------------------------------------------------------------------------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "last_experiencer_id", "last_experiencer_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:59:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"], ["created_at", "2018-01-05 23:25:29.398720"], ["exception_class_name", "RuntimeError"], ["exception_message", "Cool beans"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:25:29.398720"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.401865"], ["error_id", 1], ["experiencer_id", 160683007], ["experiencer_type", "User"], ["header_values", nil], ["param_values", "---\n:user: !ruby/object:User\n attributes:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$UYa/QFxvvWak9dBLJFvE2uFa5Ewm66lwl6EK5AAUCkA39HE5iJxva\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: 2018-01-05 23:25:28.000000000 Z\n updated_at: 2018-01-05 23:25:28.000000000 Z\n:data: Here's some data\n"], ["updated_at", "2018-01-05 23:25:29.401865"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:59:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.401865"], ["updated_at", "2018-01-05 23:25:29.404429"]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:59:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.407124"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.4ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error, but should not send notification with Errdo.log. +-------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "importance", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:51:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:50:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:25:29.417690"], ["exception_class_name", "None"], ["importance", "info"], ["updated_at", "2018-01-05 23:25:29.417690"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:29.420177"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:29.420177"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:51:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:50:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.420177"], ["updated_at", "2018-01-05 23:25:29.421994"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:51:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:50:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.424030"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should not create an error, but should send notification with Errdo.notify. +----------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific index selected. +--------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.456068"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.456068"], ["url", "http://www.example.com/static/generic_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.461869"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.461869"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.461869"], ["updated_at", "2018-01-05 23:25:29.465035"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.468772"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1?occurrence_index=0" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_index"=>"0", "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:25:29.484479') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:25:29.484479') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.7ms) +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------ +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific instance selected. +------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.496800"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.496800"], ["url", "http://www.example.com/static/generic_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.501266"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.501266"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.501266"], ["updated_at", "2018-01-05 23:25:29.503909"]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.508706"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1?occurrence_id=1" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_id"=>"1", "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:25:29.521864') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:25:29.521864') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.7ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to successfully get the error's page. +---------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.533809"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.533809"], ["url", "http://www.example.com/static/generic_error"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.537945"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.537945"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.537945"], ["updated_at", "2018-01-05 23:25:29.541489"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.545150"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.3ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:25:29.558597') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:25:29.558597') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms) +Completed 200 OK in 14ms (Views: 11.5ms | ActiveRecord: 0.9ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to successfully get the index. +--------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.570673"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.570673"], ["url", "http://www.example.com/static/generic_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.576245"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.576245"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.576245"], ["updated_at", "2018-01-05 23:25:29.579074"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.583060"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by Errdo::ErrorsController#index as HTML + Errdo::Error Load (0.3ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:25:29.597576') + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:25:29.599447') + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = 0 ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms) +Completed 200 OK in 30ms (Views: 16.8ms | ActiveRecord: 0.7ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------- +ViewsIntegrationTest: test_: views should strip off asset hash. +---------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.625577"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.625577"], ["url", "http://www.example.com/static/generic_error"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.630769"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.630769"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.630769"], ["updated_at", "2018-01-05 23:25:29.633427"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.637320"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/static/view_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#view_error as HTML +Completed 500 Internal Server Error in 36ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined local variable or method `error' for #<#<Class:0x000000074e5320>:0x000000074e4588> +Did you mean? errdo): + 1: <%= error %> + app/views/static/view_error.html.erb:1:in `_app_views_static_view_error_html_erb__978523889846433634_61265600' + actionview (4.1.16) lib/action_view/template.rb:145:in `block in render' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionview (4.1.16) lib/action_view/template.rb:339:in `instrument' + actionview (4.1.16) lib/action_view/template.rb:143:in `render' + actionview (4.1.16) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' + actionview (4.1.16) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionview (4.1.16) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionview (4.1.16) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' + actionview (4.1.16) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' + actionview (4.1.16) lib/action_view/renderer/template_renderer.rb:53:in `render_template' + actionview (4.1.16) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionview (4.1.16) lib/action_view/renderer/renderer.rb:46:in `render_template' + actionview (4.1.16) lib/action_view/renderer/renderer.rb:27:in `render' + actionview (4.1.16) lib/action_view/rendering.rb:99:in `_render_template' + actionpack (4.1.16) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.1.16) lib/action_view/rendering.rb:82:in `render_to_body' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.1.16) lib/action_controller/metal/renderers.rb:32:in `render_to_body' + actionpack (4.1.16) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.1.16) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' + activesupport (4.1.16) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block (2 levels) in <class:ViewsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/views/static/view_error.html.erb:1:in\n `_app_views_static_view_error_html_erb'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:145:in `block\n in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:339:in `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:143:in `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:55:in\n `block (2 levels) in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/abstract_renderer.rb:38:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/abstract_renderer.rb:38:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:54:in\n `block in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:62:in\n `render_with_layout'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:53:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:17:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/renderer.rb:46:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/renderer.rb:27:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:99:in `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/streaming.rb:217:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:82:in `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/renderers.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/rendering.rb:25:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:16:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:10:in\n `default_render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527"], ["created_at", "2018-01-05 23:25:29.683317"], ["exception_class_name", "ActionView::Template::Error"], ["exception_message", "undefined local variable or method `error' for #<#<Class:0x000000074e5320>:0x000000074e4588>\nDid you mean? errdo"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.683317"], ["url", "http://www.example.com/static/view_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.688479"], ["error_id", 2], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: view_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.688479"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 2 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' AND "errors"."id" != 2) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 2 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/views/static/view_error.html.erb:1:in\n `_app_views_static_view_error_html_erb'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:145:in `block\n in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:339:in `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:143:in `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:55:in\n `block (2 levels) in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/abstract_renderer.rb:38:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/abstract_renderer.rb:38:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:54:in\n `block in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:62:in\n `render_with_layout'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:53:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:17:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/renderer.rb:46:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/renderer.rb:27:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:99:in `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/streaming.rb:217:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:82:in `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/renderers.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/rendering.rb:25:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:16:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:10:in\n `default_render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.688479"], ["updated_at", "2018-01-05 23:25:29.691801"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' AND "errors"."id" != 2) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 2 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/views/static/view_error.html.erb:1:in\n `_app_views_static_view_error_html_erb'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:145:in `block\n in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:339:in `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/template.rb:143:in `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:55:in\n `block (2 levels) in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/abstract_renderer.rb:38:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/abstract_renderer.rb:38:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:54:in\n `block in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:62:in\n `render_with_layout'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:53:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/template_renderer.rb:17:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/renderer.rb:46:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/renderer/renderer.rb:27:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:99:in `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/streaming.rb:217:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:82:in `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/renderers.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/rendering.rb:25:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:16:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:10:in\n `default_render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.695966"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 2]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: ErrorsIntegration should render a 404 error page. +-------------------------------------------------------------------------------- +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:10:in `block in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: ErrorsIntegration should render a 500 error page. +-------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.709809"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.709809"], ["url", "http://www.example.com/static/generic_error"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.714097"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.714097"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.714097"], ["updated_at", "2018-01-05 23:25:29.716854"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.720376"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error and error_occurrence with the right fields. +----------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:31:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:31:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.730273"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.730273"], ["url", "http://www.example.com/static/generic_error"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "referer", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.734816"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["referer", "Referer"], ["updated_at", "2018-01-05 23:25:29.734816"], ["user_agent", "TestGuy"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:31:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.734816"], ["updated_at", "2018-01-05 23:25:29.737843"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:31:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.742786"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------ +ErrorsIntegrationTest: test_: model creation after an error should make an error if log404 is set and 404 is hit. +------------------------------------------------------------------------------------------------------------------ +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:107:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:106:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:107:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:106:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"], ["created_at", "2018-01-05 23:25:29.752547"], ["exception_class_name", "ActionController::RoutingError"], ["exception_message", "No route matches [GET] \"/not-a-path\""], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.752547"], ["url", "http://www.example.com/not-a-path"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.755719"], ["error_id", 1], ["header_values", nil], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.755719"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:107:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:106:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.755719"], ["updated_at", "2018-01-05 23:25:29.758921"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:107:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:106:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.761533"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error in the database if table name is set. +----------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.7ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.771681"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.771681"], ["url", "http://www.example.com/static/generic_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.777769"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.777769"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.777769"], ["updated_at", "2018-01-05 23:25:29.780442"]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.784294"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:25:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:24:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.793723"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.793723"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.793723"], ["updated_at", "2018-01-05 23:25:29.797506"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.801602"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error with the current user if a user is logged in. +------------------------------------------------------------------------------------------------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 227792459 [["current_sign_in_at", "2018-01-05 23:25:29.818155"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:29.818155"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:29.819031"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 8ms (ActiveRecord: 0.4ms) +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:100:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 227792459 ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_experiencer_id", "last_experiencer_type", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:100:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.830326"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:25:29.830326"], ["url", "http://www.example.com/static/generic_error"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "---\n_dummy_session: U3hVOTVVWno3aDNWcE1KdmRLS2xDVUZjK2k5WWRobEZ6aEZYUlo0elRwbEFvV21iazhVNmJNaG5uZU8yMEplMWRJMUdxYUJ5aU53c2tCeU1aeGJ1SmtYYXNaNDNTTUkya0lOaUNiNWx2aDhVZ3Z1Q1lpMWQzMjhaWkVoVE1jUHlPbGxXWTVoTjhRTGh6anVndWkxRkN5Nm4vNzAyZmNtOEdXMHNGak8wcHkzZ2ZJVUY4aENhM2dXbWxiV0MzdzdZaDVQT1dYcjArYjNWUWUvL1ljUTMwZm5EaE5RTVhNZUZZUmNiMm1OSjVFRWFqbW5BL1hWTHV3WTVzMjliemRrNi0teFhPdzEyTnJnSzVROE5iVW1vYUZrdz09--1a008b16b47f8d23141bce5f1520310238e32881\n"], ["created_at", "2018-01-05 23:25:29.835048"], ["error_id", 1], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.835048"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:100:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.835048"], ["updated_at", "2018-01-05 23:25:29.837781"]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:100:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.844675"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not combine two similar but different errors. +----------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/deep_error?code=asdf" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#deep_error as HTML + Parameters: {"code"=>"asdf"} +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) + +NameError (undefined local variable or method `asdf' for #<StaticController:0x0000000259ba80>): + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `deep_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:91:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:91:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "1687946edf0619145b8dc06f528cf963ace5cbcf"], ["created_at", "2018-01-05 23:25:29.866639"], ["exception_class_name", "NameError"], ["exception_message", "undefined local variable or method `asdf' for #<StaticController:0x0000000259ba80>"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.866639"], ["url", "http://www.example.com/static/deep_error?code=asdf"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.870672"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncode: asdf\ncontroller: static\naction: deep_error\n"], ["query_string", "code=asdf"], ["updated_at", "2018-01-05 23:25:29.870672"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:91:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.870672"], ["updated_at", "2018-01-05 23:25:29.873356"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:91:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.878323"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/static/deep_error?code=fdsa" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#deep_error as HTML + Parameters: {"code"=>"fdsa"} +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) + +NameError (undefined local variable or method `fdsa' for #<StaticController:0x000000078ab5e0>): + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `deep_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:94:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:94:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "08901f485c4e6451fc50a81753940b619e8dd07b"], ["created_at", "2018-01-05 23:25:29.898128"], ["exception_class_name", "NameError"], ["exception_message", "undefined local variable or method `fdsa' for #<StaticController:0x000000078ab5e0>"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.898128"], ["url", "http://www.example.com/static/deep_error?code=fdsa"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.902624"], ["error_id", 2], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncode: fdsa\ncontroller: static\naction: deep_error\n"], ["query_string", "code=fdsa"], ["updated_at", "2018-01-05 23:25:29.902624"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 2 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' AND "errors"."id" != 2) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 2 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:94:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.902624"], ["updated_at", "2018-01-05 23:25:29.904953"]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' AND "errors"."id" != 2) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 2 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:94:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.909890"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not have overly long error hash. +---------------------------------------------------------------------------------------------------- +Started GET "/static/long_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#long_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee): + app/controllers/static_controller.rb:11:in `long_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:85:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.3ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' LIMIT 1 + SQL (0.5ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:11:in\n `long_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:85:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "f9a1275a613d854e79631ba2ed97ec986d32d188"], ["created_at", "2018-01-05 23:25:29.925018"], ["exception_class_name", "RuntimeError"], ["exception_message", "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.925018"], ["url", "http://www.example.com/static/long_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.930531"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: long_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.930531"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:11:in\n `long_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:85:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.930531"], ["updated_at", "2018-01-05 23:25:29.933906"]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:11:in\n `long_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:85:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.937360"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not make an error if log404 is not set and 404 is hit. +-------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:114:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:113:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:124:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:124:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not make an error in the database if table name is not set. +------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:54:in `block (3 levels) in <class:ErrorsIntegrationTest>' + minitest (5.10.3) lib/minitest/mock.rb:237:in `stub' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:53:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:64:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:64:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not notify when the ignore_time is set and the last error occurrence is within that time. +------------------------------------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.957458"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.957458"], ["url", "http://www.example.com/static/generic_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.962205"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.962205"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.962205"], ["updated_at", "2018-01-05 23:25:29.965254"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.969302"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:125:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:29.978157"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:29.978157"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:29.978157"], ["updated_at", "2018-01-05 23:25:29.981488"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:29.984945"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not store a configurable dirty param in the params. +----------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error?dirtyyyyy=stuff" for 127.0.0.1 at 2018-01-05 18:25:29 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"dirtyyyyy"=>"stuff"} +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:69:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:69:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:29.995528"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:29.995528"], ["url", "http://www.example.com/static/generic_error?dirtyyyyy=stuff"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.000659"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ndirtyyyyy: \"...\"\ncontroller: static\naction: generic_error\n"], ["query_string", "dirtyyyyy=stuff"], ["updated_at", "2018-01-05 23:25:30.000659"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:69:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.000659"], ["updated_at", "2018-01-05 23:25:30.003372"]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:69:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.007488"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not store a password in the params. +------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error?password=[FILTERED]&passwd=dirty&password_confirmation=[FILTERED]&secret=dirty&confirm_password=[FILTERED]&secret_token=dirty" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"password"=>"[FILTERED]", "passwd"=>"dirty", "password_confirmation"=>"[FILTERED]", "secret"=>"dirty", "confirm_password"=>"[FILTERED]", "secret_token"=>"dirty"} +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:59:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:59:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:30.018356"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:30.018356"], ["url", "http://www.example.com/static/generic_error?password=dirty&passwd=dirty&password_confirmation=dirty&secret=dirty&confirm_password=dirty&secret_token=dirty"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.022524"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\npassword: \"...\"\npasswd: \"...\"\npassword_confirmation: \"...\"\nsecret: \"...\"\nconfirm_password: \"...\"\nsecret_token: \"...\"\ncontroller: static\naction: generic_error\n"], ["query_string", "password=dirty&passwd=dirty&password_confirmation=dirty&secret=dirty&confirm_password=dirty&secret_token=dirty"], ["updated_at", "2018-01-05 23:25:30.022524"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:59:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.022524"], ["updated_at", "2018-01-05 23:25:30.026234"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:59:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.030731"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should only store an error occurrence if same error already exists. +-------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:30.042045"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:30.042045"], ["url", "http://www.example.com/static/generic_error"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.046624"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:30.046624"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.046624"], ["updated_at", "2018-01-05 23:25:30.049809"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.053376"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:77:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:76:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.063035"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:30.063035"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.063035"], ["updated_at", "2018-01-05 23:25:30.067564"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.071064"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:79:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.081197"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:30.081197"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.081197"], ["updated_at", "2018-01-05 23:25:30.084999"]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.088954"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------ +ErrorsIntegrationTest: test_: odd cases should create error when double render error is called. +------------------------------------------------------------------------------------------------ +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/double_render_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#double_render_error as HTML +Completed 500 Internal Server Error in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) + +AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:15:in `render' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.1.16) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' + activesupport (4.1.16) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:43:in `render' + app/controllers/static_controller.rb:25:in `double_render_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:135:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:134:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:15:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:25:in\n `double_render_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:135:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:134:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "81df979257d4e5d47f9930837aa3e1ec35e07e3d"], ["created_at", "2018-01-05 23:25:30.102943"], ["exception_class_name", "AbstractController::DoubleRenderError"], ["exception_message", "Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like \"redirect_to(...) and return\"."], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:30.102943"], ["url", "http://www.example.com/static/double_render_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.107935"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: double_render_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:30.107935"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:15:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:25:in\n `double_render_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:135:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:134:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.107935"], ["updated_at", "2018-01-05 23:25:30.110627"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:15:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:25:in\n `double_render_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:135:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:134:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.114677"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should not have issues making an error occurrence when there is a utf8 encoding error. +------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.1.16) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:149:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:149:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:30.128784"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:30.128784"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.133110"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nutf: \"�(\"\ncontroller: static\naction: generic_error\n"], ["query_string", "utf=%C3%28"], ["updated_at", "2018-01-05 23:25:30.133110"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:149:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.133110"], ["updated_at", "2018-01-05 23:25:30.136263"]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:149:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.141086"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should not throw errors when a file is in the params. +---------------------------------------------------------------------------------------------- +Started POST "/static/post_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#post_error as HTML + Parameters: {"file"=>#<ActionDispatch::Http::UploadedFile:0x00000005eaf178 @tempfile=#<Tempfile:/tmp/RackMultipart20180105-1555-812wxz>, @original_filename="error.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"error.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 33\r\n">} +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (Error): + app/controllers/static_controller.rb:29:in `post_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:35:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:38:in `post' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:142:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:29:in\n `post_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:38:in\n `post'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:142:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "511c4cf64e4d02f12bc2e5180ea07da583ffcc00"], ["created_at", "2018-01-05 23:25:30.151995"], ["exception_class_name", "RuntimeError"], ["exception_message", "Error"], ["host_name", "www.example.com"], ["http_method", "POST"], ["updated_at", "2018-01-05 23:25:30.151995"], ["url", "http://www.example.com/static/post_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.158527"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfile: \"Content-Disposition: form-data; name=\\\"file\\\"; filename=\\\"error.txt\\\"\\r\\nContent-Type:\n text/plain\\r\\nContent-Length: 33\\r\\n\"\ncontroller: static\naction: post_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:30.158527"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:29:in\n `post_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:38:in\n `post'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:142:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.158527"], ["updated_at", "2018-01-05 23:25:30.162053"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:29:in\n `post_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:38:in\n `post'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:142:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.165978"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------ +NonWebTest: test_: rake tasks should create an error when a task fails. +------------------------------------------------------------------------ +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/lib/tasks/test.rake:4:in `block (2 levels)\n in <top (required)>'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'\"\n- \"/home/chronos/repos/errdo/lib/errdo/rake/task.rb:8:in `execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'\"\n- \"/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:33:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:32:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "5cedfe50e43fb3a9caf1946654f8ecf475a6314f"], ["created_at", "2018-01-05 23:25:30.176691"], ["exception_class_name", "RuntimeError"], ["exception_message", "ERRA"], ["updated_at", "2018-01-05 23:25:30.176691"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.179496"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.179496"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/lib/tasks/test.rake:4:in `block (2 levels)\n in <top (required)>'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'\"\n- \"/home/chronos/repos/errdo/lib/errdo/rake/task.rb:8:in `execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'\"\n- \"/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:33:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:32:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.179496"], ["updated_at", "2018-01-05 23:25:30.181416"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/lib/tasks/test.rake:4:in `block (2 levels)\n in <top (required)>'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'\"\n- \"/home/chronos/repos/errdo/lib/errdo/rake/task.rb:8:in `execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'\"\n- \"/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:33:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:32:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.183778"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------------------- +NonWebTest: test_: rake tasks should create not an error when a task fails when not set. +----------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------------- +NonWebTest: test_: rake tasks should not create an error when a task fails with an interrupt. +---------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------- +ErrorTest: test_: methods should compute correct users affected. +----------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error3\n"], ["backtrace_hash", "4856910b699c55151aa2deec55cb1b935bff0da7"], ["created_at", "2018-01-05 23:25:30.193909"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.193909"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.197046"], ["error_id", 1], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.197046"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error3\n"], ["last_occurred_at", "2018-01-05 23:25:30.197046"], ["updated_at", "2018-01-05 23:25:30.199015"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error3\n"], ["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:25:30.200586"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.204298"], ["error_id", 1], ["experiencer_id", 358143215], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.204298"]] + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error3\n"], ["last_occurred_at", "2018-01-05 23:25:30.204298"], ["updated_at", "2018-01-05 23:25:30.208853"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error3\n"], ["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:25:30.210489"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.213942"], ["error_id", 1], ["experiencer_id", 358143215], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.213942"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.0ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error3\n"], ["last_occurred_at", "2018-01-05 23:25:30.213942"], ["updated_at", "2018-01-05 23:25:30.215840"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error3\n"], ["updated_at", "2018-01-05 23:25:30.217402"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------- +ErrorTest: test_: methods should get newest occurrence. +-------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.3ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error4\n"], ["backtrace_hash", "58725a22b76efac22d1497f85441af197fb13401"], ["created_at", "2018-01-05 23:25:30.223483"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.223483"], ["url", "www.example.com"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.226979"], ["error_id", 1], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.226979"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error4\n"], ["last_occurred_at", "2018-01-05 23:25:30.226979"], ["updated_at", "2018-01-05 23:25:30.229836"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error4\n"], ["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:25:30.231394"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2017-12-29 23:25:30.232443"], ["error_id", 1], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.233311"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error4\n"], ["last_occurred_at", "2017-12-29 23:25:30.232443"], ["updated_at", "2018-01-05 23:25:30.235300"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error4\n"], ["updated_at", "2018-01-05 23:25:30.236901"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.240782"], ["error_id", 1], ["experiencer_id", 358143215], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.240782"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.0ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error4\n"], ["last_occurred_at", "2018-01-05 23:25:30.240782"], ["updated_at", "2018-01-05 23:25:30.243632"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error4\n"], ["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:25:30.245000"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------- +ErrorTest: test_: methods should get oldest occurrence. +-------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error5\n"], ["backtrace_hash", "163e8aa7d37dfe3f9f2527382cbdb14a32920e75"], ["created_at", "2018-01-05 23:25:30.248874"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.248874"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.251499"], ["error_id", 1], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.251499"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error5\n"], ["last_occurred_at", "2018-01-05 23:25:30.251499"], ["updated_at", "2018-01-05 23:25:30.253248"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error5\n"], ["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:25:30.255181"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2017-12-29 23:25:30.257548"], ["error_id", 1], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.258724"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error5\n"], ["last_occurred_at", "2017-12-29 23:25:30.257548"], ["updated_at", "2018-01-05 23:25:30.260924"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error5\n"], ["updated_at", "2018-01-05 23:25:30.262803"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.265017"], ["error_id", 1], ["experiencer_id", 358143215], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.265017"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error5\n"], ["last_occurred_at", "2018-01-05 23:25:30.265017"], ["updated_at", "2018-01-05 23:25:30.267323"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error5\n"], ["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:25:30.268727"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------- +ErrorTest: test_: model attributes should default status to active. +-------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.5ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error6\n"], ["backtrace_hash", "3ab0789ac76e83736b3c0d81202a6ebda6959d93"], ["created_at", "2018-01-05 23:25:30.273309"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.273309"], ["url", "www.example.com"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------- +ErrorTest: test_: model attributes should have right fields. +------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'e534875b135b10356eef49aca21b28f5c270fedd' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error7\n"], ["backtrace_hash", "e534875b135b10356eef49aca21b28f5c270fedd"], ["created_at", "2018-01-05 23:25:30.277444"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.277444"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------- +ErrorTest: test_: model linkages should have correct relations. +---------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4caab3712f918b5423b9eef888ab5618fe3ce89d' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error8\n"], ["backtrace_hash", "4caab3712f918b5423b9eef888ab5618fe3ce89d"], ["created_at", "2018-01-05 23:25:30.280296"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.280296"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------- +ErrorTest: test_: model linkages should have counter cache for occurrences. +---------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error9\n"], ["backtrace_hash", "bd447191a33ec2ede50c7410406fe1130dec012e"], ["created_at", "2018-01-05 23:25:30.283344"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.283344"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.286162"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.286162"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error9\n"], ["last_occurred_at", "2018-01-05 23:25:30.286162"], ["updated_at", "2018-01-05 23:25:30.288165"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error9\n"], ["updated_at", "2018-01-05 23:25:30.290892"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------ +ErrorTest: test_: model linkages should set the last experiencer to the last occurrence's user. +------------------------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error10\n"], ["backtrace_hash", "c51a1d495add779a80be7ec126c20a00cff47787"], ["created_at", "2018-01-05 23:25:30.295505"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.295505"], ["url", "www.example.com"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.298716"], ["error_id", 1], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.298716"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' AND "errors"."id" != 1) LIMIT 1 + SQL (0.0ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error10\n"], ["last_occurred_at", "2018-01-05 23:25:30.298716"], ["updated_at", "2018-01-05 23:25:30.300565"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error10\n"], ["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:25:30.301996"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "experiencer_id", "experiencer_type", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.304066"], ["error_id", 1], ["experiencer_id", 358143215], ["experiencer_type", "User"], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.304066"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error10\n"], ["last_occurred_at", "2018-01-05 23:25:30.304066"], ["updated_at", "2018-01-05 23:25:30.313985"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error10\n"], ["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:25:30.315400"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------ +ErrorTest: test_: model validations should force backtrace_hash to be unique. +------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error11\n"], ["backtrace_hash", "8b92339d3cc40d3160e23156dcdcab73e341c03a"], ["created_at", "2018-01-05 23:25:30.320390"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.320390"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error12\n"], ["backtrace_hash", "0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9"], ["created_at", "2018-01-05 23:25:30.324107"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.324107"], ["url", "www.example.com"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' AND "errors"."id" != 2) LIMIT 1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------ +PluginsIntegrationTest: test_: slack integration should correctly send a notification when there is no database stored error. +------------------------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:29:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:39:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:39:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should not fail when the slack ping returns an error. +------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.5ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:30.338532"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:30.338532"], ["url", "http://www.example.com/static/generic_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.344663"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:30.344663"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.344663"], ["updated_at", "2018-01-05 23:25:30.347225"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.350521"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Exception from WebMock +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should not send a slack notification when error is hit if webhook is not set. +------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:30.362278"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:30.362278"], ["url", "http://www.example.com/static/generic_error"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.367097"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:30.367097"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.367097"], ["updated_at", "2018-01-05 23:25:30.369611"]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.374291"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should send a slack notification when error is hit. +----------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#generic_error as HTML +Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.1.16) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.1.16) lib/active_support/callbacks.rb:113:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:552:in `block (2 levels) in compile' + activesupport (4.1.16) lib/active_support/callbacks.rb:502:in `call' + activesupport (4.1.16) lib/active_support/callbacks.rb:86:in `run_callbacks' + actionpack (4.1.16) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.1.16) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.1.16) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.1.16) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.1.16) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.1.16) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.1.16) lib/abstract_controller/base.rb:136:in `process' + actionview (4.1.16) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.16) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.16) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.16) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.16) lib/action_dispatch/routing/route_set.rb:690:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.5.5) lib/rack/etag.rb:23:in `call' + rack (1.5.5) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.5) lib/rack/head.rb:11:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.16) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.16) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.16) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.16) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.16) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.16) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.5) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.16) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + actionpack (4.1.16) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.5) lib/rack/sendfile.rb:112:in `call' + railties (4.1.16) lib/rails/engine.rb:514:in `call' + railties (4.1.16) lib/rails/application.rb:144:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:309:in `process' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.1.16) lib/action_dispatch/testing/integration.rb:343:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block in create_test_from_should_hash' + minitest (5.10.3) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.10.3) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest/test.rb:255:in `time_it' + minitest (5.10.3) lib/minitest/test.rb:103:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.10.3) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.18) lib/minitest/reporters.rb:53:in `run_with_hooks' + minitest (5.10.3) lib/minitest.rb:839:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:324:in `run_one_method' + minitest (5.10.3) lib/minitest.rb:311:in `block (2 levels) in run' + minitest (5.10.3) lib/minitest.rb:310:in `each' + minitest (5.10.3) lib/minitest.rb:310:in `block in run' + minitest (5.10.3) lib/minitest.rb:350:in `on_signal' + minitest (5.10.3) lib/minitest.rb:337:in `with_info_handler' + minitest (5.10.3) lib/minitest.rb:309:in `run' + minitest (5.10.3) lib/minitest.rb:159:in `block in __run' + minitest (5.10.3) lib/minitest.rb:159:in `map' + minitest (5.10.3) lib/minitest.rb:159:in `__run' + minitest (5.10.3) lib/minitest.rb:136:in `run' + minitest (5.10.3) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:25:30.384138"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["updated_at", "2018-01-05 23:25:30.384138"], ["url", "http://www.example.com/static/generic_error"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "ip", "param_values", "query_string", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["cookie_values", "--- {}\n"], ["created_at", "2018-01-05 23:25:30.389333"], ["error_id", 1], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["ip", "127.0.0.1"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["query_string", ""], ["updated_at", "2018-01-05 23:25:30.389333"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_occurred_at", "2018-01-05 23:25:30.389333"], ["updated_at", "2018-01-05 23:25:30.392227"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:189:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:113:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:552:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:502:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:86:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/notifications.rb:159:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/abstract_controller/base.rb:136:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.1.16/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_controller/metal.rb:232:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:80:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:48:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:73:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/journey/router.rb:59:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/routing/route_set.rb:690:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/flash.rb:254:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/cookies.rb:562:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.1.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/callbacks.rb:82:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/remote_ip.rb:76:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.1.16/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/middleware/static.rb:84:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/engine.rb:514:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.1.16/lib/rails/application.rb:144:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:309:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.1.16/lib/action_dispatch/testing/integration.rb:343:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:107:in `block (3\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:204:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:104:in `block (2\n levels) in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:255:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:103:in `block in\n run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:275:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest/test.rb:102:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.18/lib/minitest/reporters.rb:53:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:839:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:324:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:311:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:310:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:350:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:337:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:309:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.10.3/lib/minitest.rb:63:in `block in autorun'\"\n"], ["updated_at", "2018-01-05 23:25:30.397228"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan allowed user should be able to get the errors index. +---------------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error13\n"], ["backtrace_hash", "e42954bc570b41408c0b52621c5a879071f1e809"], ["created_at", "2018-01-05 23:25:30.406334"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.406334"], ["url", "www.example.com"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.409108"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.409108"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error13\n"], ["last_occurred_at", "2018-01-05 23:25:30.409108"], ["updated_at", "2018-01-05 23:25:30.411574"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error13\n"], ["updated_at", "2018-01-05 23:25:30.413207"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 227792459 [["current_sign_in_at", "2018-01-05 23:25:30.418195"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:30.418195"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:30.418576"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 4ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#home as HTML +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 227792459 ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:25:30.426317') + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:25:30.428553') + Errdo::Error Load (0.3ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = 0 ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms) +Completed 200 OK in 11ms (Views: 4.7ms | ActiveRecord: 0.8ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to get the error show page. +------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error14\n"], ["backtrace_hash", "aadcd38795aade729c342eb06b447741a5a6e5a8"], ["created_at", "2018-01-05 23:25:30.438492"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.438492"], ["url", "www.example.com"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.442369"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.442369"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error14\n"], ["last_occurred_at", "2018-01-05 23:25:30.442369"], ["updated_at", "2018-01-05 23:25:30.444244"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error14\n"], ["updated_at", "2018-01-05 23:25:30.446393"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'loser@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 160683007 [["current_sign_in_at", "2018-01-05 23:25:30.451799"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:30.451799"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:30.452170"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 5ms (ActiveRecord: 0.4ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#home as HTML +Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 160683007 ORDER BY "users"."id" ASC LIMIT 1 +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to get the errors index. +---------------------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error15\n"], ["backtrace_hash", "8d1082c98128ced486c09c3c048c7e18be807274"], ["created_at", "2018-01-05 23:25:30.464306"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.464306"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.466747"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.466747"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error15\n"], ["last_occurred_at", "2018-01-05 23:25:30.466747"], ["updated_at", "2018-01-05 23:25:30.468598"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error15\n"], ["updated_at", "2018-01-05 23:25:30.470139"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'loser@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 160683007 [["current_sign_in_at", "2018-01-05 23:25:30.476499"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:30.476499"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:30.476923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 5ms (ActiveRecord: 0.4ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#home as HTML +Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 160683007 ORDER BY "users"."id" ASC LIMIT 1 +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------ +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to update the error. +------------------------------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error16\n"], ["backtrace_hash", "d77d1e06472f511277a6c747c1c110b786c2f00d"], ["created_at", "2018-01-05 23:25:30.487227"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.487227"], ["url", "www.example.com"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.489847"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.489847"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error16\n"], ["last_occurred_at", "2018-01-05 23:25:30.489847"], ["updated_at", "2018-01-05 23:25:30.491801"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error16\n"], ["updated_at", "2018-01-05 23:25:30.493970"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'loser@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 160683007 [["current_sign_in_at", "2018-01-05 23:25:30.500454"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:30.500454"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:30.500884"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 5ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#home as HTML +Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 160683007 ORDER BY "users"."id" ASC LIMIT 1 +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block allowed user should be able to get the errors index. +--------------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error17\n"], ["backtrace_hash", "c8abae6977ce6970a9e2b557caed6ccd935444ec"], ["created_at", "2018-01-05 23:25:30.513532"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.513532"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.515627"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.515627"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error17\n"], ["last_occurred_at", "2018-01-05 23:25:30.515627"], ["updated_at", "2018-01-05 23:25:30.517865"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error17\n"], ["updated_at", "2018-01-05 23:25:30.519388"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 227792459 [["current_sign_in_at", "2018-01-05 23:25:30.525111"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:30.525111"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:30.525591"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 5ms (ActiveRecord: 0.4ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#home as HTML +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 227792459 ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:25:30.533650') + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:25:30.535051') + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = 0 ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms) +Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 0.6ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------ +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to get the error show page. +------------------------------------------------------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error18\n"], ["backtrace_hash", "0730249282830e3120920443da0f5e3e1ef130f1"], ["created_at", "2018-01-05 23:25:30.545303"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.545303"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.547643"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.547643"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error18\n"], ["last_occurred_at", "2018-01-05 23:25:30.547643"], ["updated_at", "2018-01-05 23:25:30.549683"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error18\n"], ["updated_at", "2018-01-05 23:25:30.551433"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'loser@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 160683007 [["current_sign_in_at", "2018-01-05 23:25:30.557781"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:30.557781"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:30.558331"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.5ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#home as HTML +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 160683007 ORDER BY "users"."id" ASC LIMIT 1 +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to get the errors index. +--------------------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error19\n"], ["backtrace_hash", "57de8250b370c9cdc58579cfeb97e2bc9ec63089"], ["created_at", "2018-01-05 23:25:30.569541"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.569541"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.571869"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.571869"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error19\n"], ["last_occurred_at", "2018-01-05 23:25:30.571869"], ["updated_at", "2018-01-05 23:25:30.575603"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error19\n"], ["updated_at", "2018-01-05 23:25:30.577521"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'loser@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 160683007 [["current_sign_in_at", "2018-01-05 23:25:30.582949"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:30.582949"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:30.583368"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 5ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#home as HTML +Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 160683007 ORDER BY "users"."id" ASC LIMIT 1 +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to update the error. +----------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("backtrace", "backtrace_hash", "created_at", "exception_class_name", "exception_message", "host_name", "http_method", "last_occurred_at", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["backtrace", "---\n- error20\n"], ["backtrace_hash", "0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525"], ["created_at", "2018-01-05 23:25:30.594508"], ["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["host_name", "www.example.com"], ["http_method", "GET"], ["last_occurred_at", "2018-01-05 23:25:28.717222"], ["updated_at", "2018-01-05 23:25:30.594508"], ["url", "www.example.com"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("cookie_values", "created_at", "error_id", "header_values", "param_values", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cookie_values", nil], ["created_at", "2018-01-05 23:25:30.597643"], ["error_id", 1], ["header_values", nil], ["param_values", nil], ["updated_at", "2018-01-05 23:25:30.597643"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = 1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error20\n"], ["last_occurred_at", "2018-01-05 23:25:30.597643"], ["updated_at", "2018-01-05 23:25:30.599974"]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "backtrace" = ?, "updated_at" = ? WHERE "errors"."id" = 1 [["backtrace", "---\n- error20\n"], ["updated_at", "2018-01-05 23:25:30.601524"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'loser@example.com' ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 160683007 [["current_sign_in_at", "2018-01-05 23:25:30.607783"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2018-01-05 23:25:30.607783"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:25:30.608496"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.7ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by StaticController#home as HTML +Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:25:30 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 160683007 ORDER BY "users"."id" ASC LIMIT 1 +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------- +ErrdoGeneratorTest: test_: ErrdoGenerator should add class name to initializer. +-------------------------------------------------------------------------------- +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$9Hp1tUHBZ12TOI1LH6JZv.qSIF146ak7nClCsCnBijeQleKLNxgHG', '2018-01-05 23:34:55', '2018-01-05 23:34:55', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$hCItqy0OImeoWp.8r9oG8ucNXsgCsCVA2/PQnBE02G.B35v9nztIW', '2018-01-05 23:34:55', '2018-01-05 23:34:55', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$JN2O3jChgSnsuEJxMDpR3.ZeZizi1vesVTLeZcE90t0jzRiQk0sUy', 1, '2018-01-05 23:34:55', '2018-01-05 23:34:55', 160683007) +  (7.3ms) commit transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------- +ErrorOccurrenceTest: test_: callbacks should update last_occurrence of error when created. +------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error1\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "c6774fe2a301bd770286cdb7764abc2698878b68"], ["created_at", "2018-01-05 23:34:55.633950"], ["updated_at", "2018-01-05 23:34:55.633950"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:55.650499"], ["updated_at", "2018-01-05 23:34:55.650499"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:55.650499"], ["updated_at", "2018-01-05 23:34:55.657801"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------- +ErrorOccurrenceTest: test_: model linkages should have correct relations. +-------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-01-05 23:34:55.665771"], ["updated_at", "2018-01-05 23:34:55.665771"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------- +ErrorTest: test_: methods should compute correct users affected. +----------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error2\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "177ea0ad92f01de4faaa5ca73e8e620092af76d1"], ["created_at", "2018-01-05 23:34:55.670368"], ["updated_at", "2018-01-05 23:34:55.670368"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.685040"], ["updated_at", "2018-01-05 23:34:55.685040"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:55.685040"], ["updated_at", "2018-01-05 23:34:55.688426"], ["id", 1]] + Errdo::Error Exists (0.4ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:34:55.691583"], ["id", 1]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.703088"], ["updated_at", "2018-01-05 23:34:55.703088"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:34:55.703088"], ["updated_at", "2018-01-05 23:34:55.705987"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:34:55.709199"], ["id", 1]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.3ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.715661"], ["updated_at", "2018-01-05 23:34:55.715661"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.5ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:34:55.715661"], ["updated_at", "2018-01-05 23:34:55.719096"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------- +ErrorTest: test_: model linkages should have counter cache for occurrences. +---------------------------------------------------------------------------- +  (0.4ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error3\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "4856910b699c55151aa2deec55cb1b935bff0da7"], ["created_at", "2018-01-05 23:34:55.729269"], ["updated_at", "2018-01-05 23:34:55.729269"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:55.733935"], ["updated_at", "2018-01-05 23:34:55.733935"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:55.733935"], ["updated_at", "2018-01-05 23:34:55.737972"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------- +ErrorTest: test_: model linkages should have correct relations. +---------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error4\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "58725a22b76efac22d1497f85441af197fb13401"], ["created_at", "2018-01-05 23:34:55.746678"], ["updated_at", "2018-01-05 23:34:55.746678"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------- +ErrorTest: test_: methods should get newest occurrence. +-------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error5\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "163e8aa7d37dfe3f9f2527382cbdb14a32920e75"], ["created_at", "2018-01-05 23:34:55.752333"], ["updated_at", "2018-01-05 23:34:55.752333"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.757322"], ["updated_at", "2018-01-05 23:34:55.757322"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:55.757322"], ["updated_at", "2018-01-05 23:34:55.762325"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:34:55.772276"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "created_at", "error_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["created_at", "2017-12-29 23:34:55.773632"], ["error_id", 1], ["updated_at", "2018-01-05 23:34:55.774822"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2017-12-29 23:34:55.773632"], ["updated_at", "2018-01-05 23:34:55.777847"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.782089"], ["updated_at", "2018-01-05 23:34:55.782089"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:34:55.782089"], ["updated_at", "2018-01-05 23:34:55.784208"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:34:55.786529"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------ +ErrorTest: test_: model validations should force backtrace_hash to be unique. +------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error6\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "3ab0789ac76e83736b3c0d81202a6ebda6959d93"], ["created_at", "2018-01-05 23:34:55.791356"], ["updated_at", "2018-01-05 23:34:55.791356"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'e534875b135b10356eef49aca21b28f5c270fedd' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error7\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "e534875b135b10356eef49aca21b28f5c270fedd"], ["created_at", "2018-01-05 23:34:55.795061"], ["updated_at", "2018-01-05 23:34:55.795061"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 2) LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------- +ErrorTest: test_: model attributes should have right fields. +------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4caab3712f918b5423b9eef888ab5618fe3ce89d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error8\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "4caab3712f918b5423b9eef888ab5618fe3ce89d"], ["created_at", "2018-01-05 23:34:55.805877"], ["updated_at", "2018-01-05 23:34:55.805877"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------- +ErrorTest: test_: methods should get oldest occurrence. +-------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error9\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "bd447191a33ec2ede50c7410406fe1130dec012e"], ["created_at", "2018-01-05 23:34:55.810221"], ["updated_at", "2018-01-05 23:34:55.810221"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.813537"], ["updated_at", "2018-01-05 23:34:55.813537"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:55.813537"], ["updated_at", "2018-01-05 23:34:55.815891"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:34:55.818770"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "created_at", "error_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["created_at", "2017-12-29 23:34:55.820443"], ["error_id", 1], ["updated_at", "2018-01-05 23:34:55.822009"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2017-12-29 23:34:55.820443"], ["updated_at", "2018-01-05 23:34:55.824544"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.830458"], ["updated_at", "2018-01-05 23:34:55.830458"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:34:55.830458"], ["updated_at", "2018-01-05 23:34:55.832600"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:34:55.835026"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------- +ErrorTest: test_: model attributes should default status to active. +-------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error10\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "c51a1d495add779a80be7ec126c20a00cff47787"], ["created_at", "2018-01-05 23:34:55.839365"], ["updated_at", "2018-01-05 23:34:55.839365"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------ +ErrorTest: test_: model linkages should set the last experiencer to the last occurrence's user. +------------------------------------------------------------------------------------------------ +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error11\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "8b92339d3cc40d3160e23156dcdcab73e341c03a"], ["created_at", "2018-01-05 23:34:55.843959"], ["updated_at", "2018-01-05 23:34:55.843959"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.847348"], ["updated_at", "2018-01-05 23:34:55.847348"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:55.847348"], ["updated_at", "2018-01-05 23:34:55.849970"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:34:55.852480"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.856117"], ["updated_at", "2018-01-05 23:34:55.856117"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:34:55.856117"], ["updated_at", "2018-01-05 23:34:55.858489"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:34:55.862429"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should throw error if table name already exists. +--------------------------------------------------------------------------------------------------------- +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should make sure that migrations are produced. +------------------------------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should revoke correctly. +--------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error in the database if table name is set. +----------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:55 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:55.912816"], ["updated_at", "2018-01-05 23:34:55.912816"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.923044"], ["updated_at", "2018-01-05 23:34:55.923044"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:55.923044"], ["updated_at", "2018-01-05 23:34:55.928087"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:55 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:25:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:24:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:55.949157"], ["updated_at", "2018-01-05 23:34:55.949157"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:34:55.949157"], ["updated_at", "2018-01-05 23:34:55.954595"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------ +ErrorsIntegrationTest: test_: odd cases should create error when double render error is called. +------------------------------------------------------------------------------------------------ +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/double_render_error" for 127.0.0.1 at 2018-01-05 18:34:55 -0500 +Processing by StaticController#double_render_error as HTML + Rendered static/home.html.erb (1.4ms) +Completed 401 Unauthorized in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms) + +AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:15:in `render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:43:in `render' + app/controllers/static_controller.rb:25:in `double_render_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:135:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:134:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "81df979257d4e5d47f9930837aa3e1ec35e07e3d"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "AbstractController::DoubleRenderError"], ["exception_message", "Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like \"redirect_to(...) and return\"."], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/double_render_error"], ["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:15:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:25:in\n `double_render_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:135:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:134:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "81df979257d4e5d47f9930837aa3e1ec35e07e3d"], ["created_at", "2018-01-05 23:34:55.988906"], ["updated_at", "2018-01-05 23:34:55.988906"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: double_render_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.001517"], ["updated_at", "2018-01-05 23:34:56.001517"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.001517"], ["updated_at", "2018-01-05 23:34:56.006015"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: ErrorsIntegration should render a 500 error page. +-------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.037990"], ["updated_at", "2018-01-05 23:34:56.037990"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.048240"], ["updated_at", "2018-01-05 23:34:56.048240"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.048240"], ["updated_at", "2018-01-05 23:34:56.053420"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------ +ErrorsIntegrationTest: test_: model creation after an error should make an error if log404 is set and 404 is hit. +------------------------------------------------------------------------------------------------------------------ +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:107:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:106:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "ActionController::RoutingError"], ["exception_message", "No route matches [GET] \"/not-a-path\""], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/not-a-path"], ["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:107:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:106:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"], ["created_at", "2018-01-05 23:34:56.076647"], ["updated_at", "2018-01-05 23:34:56.076647"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["cookie_values", "--- {}\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.082744"], ["updated_at", "2018-01-05 23:34:56.082744"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.082744"], ["updated_at", "2018-01-05 23:34:56.086894"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: ErrorsIntegration should render a 404 error page. +-------------------------------------------------------------------------------- +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:10:in `block in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "ActionController::RoutingError"], ["exception_message", "No route matches [GET] \"/not-a-path\""], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/not-a-path"], ["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:10:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"], ["created_at", "2018-01-05 23:34:56.104513"], ["updated_at", "2018-01-05 23:34:56.104513"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["cookie_values", "--- {}\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.110963"], ["updated_at", "2018-01-05 23:34:56.110963"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.110963"], ["updated_at", "2018-01-05 23:34:56.114155"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not store a password in the params. +------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error?password=[FILTERED]&passwd=dirty&password_confirmation=[FILTERED]&secret=dirty&confirm_password=[FILTERED]&secret_token=dirty" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"password"=>"[FILTERED]", "passwd"=>"dirty", "password_confirmation"=>"[FILTERED]", "secret"=>"dirty", "confirm_password"=>"[FILTERED]", "secret_token"=>"dirty"} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:59:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?password=dirty&passwd=dirty&password_confirmation=dirty&secret=dirty&confirm_password=dirty&secret_token=dirty"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:59:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.134776"], ["updated_at", "2018-01-05 23:34:56.134776"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "password=dirty&passwd=dirty&password_confirmation=dirty&secret=dirty&confirm_password=dirty&secret_token=dirty"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\npassword: \"...\"\npasswd: \"...\"\npassword_confirmation: \"...\"\nsecret: \"...\"\nconfirm_password: \"...\"\nsecret_token: \"...\"\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.146140"], ["updated_at", "2018-01-05 23:34:56.146140"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.146140"], ["updated_at", "2018-01-05 23:34:56.150651"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should only store an error occurrence if same error already exists. +-------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.177913"], ["updated_at", "2018-01-05 23:34:56.177913"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.189078"], ["updated_at", "2018-01-05 23:34:56.189078"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.189078"], ["updated_at", "2018-01-05 23:34:56.195299"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:77:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:76:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.215234"], ["updated_at", "2018-01-05 23:34:56.215234"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:34:56.215234"], ["updated_at", "2018-01-05 23:34:56.220323"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:79:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.241054"], ["updated_at", "2018-01-05 23:34:56.241054"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:34:56.241054"], ["updated_at", "2018-01-05 23:34:56.246757"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should not throw errors when a file is in the params. +---------------------------------------------------------------------------------------------- +Started POST "/static/post_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#post_error as HTML + Parameters: {"file"=>#<ActionDispatch::Http::UploadedFile:0x0000000886df28 @tempfile=#<Tempfile:/tmp/RackMultipart20180105-2293-12mwzye.txt>, @original_filename="error.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"error.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 33\r\n">} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (Error): + app/controllers/static_controller.rb:29:in `post_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:38:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:38:in `post' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:142:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "511c4cf64e4d02f12bc2e5180ea07da583ffcc00"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "Error"], ["http_method", "POST"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/post_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:29:in\n `post_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:38:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:38:in\n `post'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:142:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "511c4cf64e4d02f12bc2e5180ea07da583ffcc00"], ["created_at", "2018-01-05 23:34:56.271337"], ["updated_at", "2018-01-05 23:34:56.271337"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfile: \"Content-Disposition: form-data; name=\\\"file\\\"; filename=\\\"error.txt\\\"\\r\\nContent-Type:\n text/plain\\r\\nContent-Length: 33\\r\\n\"\ncontroller: static\naction: post_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.282266"], ["updated_at", "2018-01-05 23:34:56.282266"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.282266"], ["updated_at", "2018-01-05 23:34:56.286581"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error with the current user if a user is logged in. +------------------------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:56.326488"], ["current_sign_in_at", "2018-01-05 23:34:56.326488"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:56.328424"], ["id", 227792459]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 14ms (ActiveRecord: 0.6ms) +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:100:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 227792459]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "last_experiencer_id", "last_experiencer_type", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:100:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.346658"], ["updated_at", "2018-01-05 23:34:56.346658"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "experiencer_id", "experiencer_type", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "---\n_dummy_session: MzRqaUFiajFQVGVtYlpVZnEzU09WanRXK20wMTVwcXArRnhiNys1cDQ4dnk3K202WlBxcFBpakErc21yZEFqMkNQUGtlblZxK3pQOXNqamdROVJHZi85Uml2VVRKTzk4OHJieXRzRVVWMjVBSlVwZFlUWU45SEtmRFRsdGxyRmVZYmpRajdhZ003WnpSMEZTMWNQWlk2OWdwWm43OWpHVEJ6aWRSZWxTNnd3VVhhOVFRbHFqSjhXRWJsdnovSEh2cGJPL2NwdnRMNTF6WVJ1dkYwSy9zTVJpSHV3U1VFNXlMdUpNWVl5dnlEV3V5N2d6L3VXUlVsdTFPYWsvalJtTC0tdXBsRC9GVVU2N1JERnM4ZkVxZzNmUT09--b147f4c0fd087df8ffe1c106187ef5770ccc9652\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.359285"], ["updated_at", "2018-01-05 23:34:56.359285"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.359285"], ["updated_at", "2018-01-05 23:34:56.364892"], ["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not notify when the ignore_time is set and the last error occurrence is within that time. +------------------------------------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.393529"], ["updated_at", "2018-01-05 23:34:56.393529"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.404831"], ["updated_at", "2018-01-05 23:34:56.404831"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.404831"], ["updated_at", "2018-01-05 23:34:56.410702"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:125:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.433485"], ["updated_at", "2018-01-05 23:34:56.433485"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:34:56.433485"], ["updated_at", "2018-01-05 23:34:56.439079"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should not have issues making an error occurrence when there is a utf8 encoding error. +------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:149:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:149:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.465983"], ["updated_at", "2018-01-05 23:34:56.465983"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error and error_occurrence with the right fields. +----------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:31:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:31:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.486930"], ["updated_at", "2018-01-05 23:34:56.486930"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "user_agent", "referer", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["user_agent", "TestGuy"], ["referer", "Referer"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.499217"], ["updated_at", "2018-01-05 23:34:56.499217"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.499217"], ["updated_at", "2018-01-05 23:34:56.504017"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not combine two similar but different errors. +----------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/deep_error?code=asdf" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#deep_error as HTML + Parameters: {"code"=>"asdf"} +Completed 401 Unauthorized in 7ms (ActiveRecord: 0.0ms) + +NameError (undefined local variable or method `asdf' for #<StaticController:0x000000038394a8>): + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `deep_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:91:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "1687946edf0619145b8dc06f528cf963ace5cbcf"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "NameError"], ["exception_message", "undefined local variable or method `asdf' for #<StaticController:0x000000038394a8>"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/deep_error?code=asdf"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:91:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "1687946edf0619145b8dc06f528cf963ace5cbcf"], ["created_at", "2018-01-05 23:34:56.543931"], ["updated_at", "2018-01-05 23:34:56.543931"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "code=asdf"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncode: asdf\ncontroller: static\naction: deep_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.557629"], ["updated_at", "2018-01-05 23:34:56.557629"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.557629"], ["updated_at", "2018-01-05 23:34:56.562630"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/static/deep_error?code=fdsa" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#deep_error as HTML + Parameters: {"code"=>"fdsa"} +Completed 401 Unauthorized in 6ms (ActiveRecord: 0.0ms) + +NameError (undefined local variable or method `fdsa' for #<StaticController:0x000000058e8320>): + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `deep_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:94:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "08901f485c4e6451fc50a81753940b619e8dd07b"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "NameError"], ["exception_message", "undefined local variable or method `fdsa' for #<StaticController:0x000000058e8320>"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/deep_error?code=fdsa"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:94:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "08901f485c4e6451fc50a81753940b619e8dd07b"], ["created_at", "2018-01-05 23:34:56.596884"], ["updated_at", "2018-01-05 23:34:56.596884"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "code=fdsa"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncode: fdsa\ncontroller: static\naction: deep_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 2], ["created_at", "2018-01-05 23:34:56.607569"], ["updated_at", "2018-01-05 23:34:56.607569"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' AND "errors"."id" != 2) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.607569"], ["updated_at", "2018-01-05 23:34:56.612808"], ["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' AND "errors"."id" != 2) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not make an error in the database if table name is not set. +------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:54:in `block (3 levels) in <class:ErrorsIntegrationTest>' + minitest (5.11.1) lib/minitest/mock.rb:234:in `stub' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:53:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:64:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:64:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not have overly long error hash. +---------------------------------------------------------------------------------------------------- +Started GET "/static/long_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#long_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee): + app/controllers/static_controller.rb:11:in `long_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:85:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "f9a1275a613d854e79631ba2ed97ec986d32d188"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/long_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:11:in\n `long_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:85:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "f9a1275a613d854e79631ba2ed97ec986d32d188"], ["created_at", "2018-01-05 23:34:56.643065"], ["updated_at", "2018-01-05 23:34:56.643065"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: long_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.653178"], ["updated_at", "2018-01-05 23:34:56.653178"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.653178"], ["updated_at", "2018-01-05 23:34:56.659347"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not store a configurable dirty param in the params. +----------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error?dirtyyyyy=stuff" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"dirtyyyyy"=>"stuff"} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:69:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?dirtyyyyy=stuff"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:69:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.682911"], ["updated_at", "2018-01-05 23:34:56.682911"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "dirtyyyyy=stuff"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ndirtyyyyy: \"...\"\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.693937"], ["updated_at", "2018-01-05 23:34:56.693937"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.693937"], ["updated_at", "2018-01-05 23:34:56.698115"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not make an error if log404 is not set and 404 is hit. +-------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:114:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:113:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:124:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:124:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should not fail when the slack ping returns an error. +------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.729933"], ["updated_at", "2018-01-05 23:34:56.729933"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.740642"], ["updated_at", "2018-01-05 23:34:56.740642"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.740642"], ["updated_at", "2018-01-05 23:34:56.746967"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Exception from WebMock +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------ +PluginsIntegrationTest: test_: slack integration should correctly send a notification when there is no database stored error. +------------------------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:29:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:39:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:39:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should not send a slack notification when error is hit if webhook is not set. +------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.786228"], ["updated_at", "2018-01-05 23:34:56.786228"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.797061"], ["updated_at", "2018-01-05 23:34:56.797061"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.797061"], ["updated_at", "2018-01-05 23:34:56.801647"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should send a slack notification when error is hit. +----------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:56 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:56.832305"], ["updated_at", "2018-01-05 23:34:56.832305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:56.844588"], ["updated_at", "2018-01-05 23:34:56.844588"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.844588"], ["updated_at", "2018-01-05 23:34:56.850198"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------- +InstallGeneratorTest: test_: InstallGenerator should assert initializer is properly created. +--------------------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------- +Errdo::ErrorsControllerTest: test_: actions update should change the status. +----------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error12\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9"], ["created_at", "2018-01-05 23:34:56.917760"], ["updated_at", "2018-01-05 23:34:56.917760"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:56.920695"], ["updated_at", "2018-01-05 23:34:56.920695"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:56.920695"], ["updated_at", "2018-01-05 23:34:56.923893"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "status" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["status", 1], ["updated_at", "2018-01-05 23:34:56.934721"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.3ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:34:56.979277') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:34:56.979277') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (44.9ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (7.1ms) +Completed 200 OK in 382ms (Views: 375.6ms | ActiveRecord: 1.8ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should correctly respond to changing the user_show_page. +-------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should default to nil when nothing set. +--------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should default to email. +-------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should correctly respond to changing the user_string_method. +-------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and scrub the params. +---------------------------------------------------------------------------------------------------- + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "cee8810db22966c8023ed850bd959c1e06409fbc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["exception_message", "Cool beans2"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:82:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "info"], ["backtrace_hash", "cee8810db22966c8023ed850bd959c1e06409fbc"], ["created_at", "2018-01-05 23:34:57.333065"], ["updated_at", "2018-01-05 23:34:57.333065"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["param_values", "---\n:password: \"...\"\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:57.338902"], ["updated_at", "2018-01-05 23:34:57.338902"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.338902"], ["updated_at", "2018-01-05 23:34:57.342008"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error, but should not send notification with Errdo.log. +-------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:51:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:50:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "info"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:34:57.355029"], ["updated_at", "2018-01-05 23:34:57.355029"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.360225"], ["updated_at", "2018-01-05 23:34:57.360225"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.360225"], ["updated_at", "2018-01-05 23:34:57.364293"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.warn. +--------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.4ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:37:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:36:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "warning"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:34:57.385293"], ["updated_at", "2018-01-05 23:34:57.385293"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.391847"], ["updated_at", "2018-01-05 23:34:57.391847"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.391847"], ["updated_at", "2018-01-05 23:34:57.395103"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.error even when nothing is set. +----------------------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.4ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:29:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:34:57.413914"], ["updated_at", "2018-01-05 23:34:57.413914"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.5ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.419763"], ["updated_at", "2018-01-05 23:34:57.419763"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.419763"], ["updated_at", "2018-01-05 23:34:57.425137"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.error. +---------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:20:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:18:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"], ["created_at", "2018-01-05 23:34:57.444968"], ["updated_at", "2018-01-05 23:34:57.444968"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.450946"], ["updated_at", "2018-01-05 23:34:57.450946"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.450946"], ["updated_at", "2018-01-05 23:34:57.455855"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error with no exception and set params. +---------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "0cb232d4e942cb440ecc02ee10363093c70c8950"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "last_experiencer_id", "last_experiencer_type", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:75:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["backtrace_hash", "0cb232d4e942cb440ecc02ee10363093c70c8950"], ["created_at", "2018-01-05 23:34:57.476457"], ["updated_at", "2018-01-05 23:34:57.476457"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["experiencer_id", 160683007], ["experiencer_type", "User"], ["param_values", "---\n:user: !ruby/object:User\n raw_attributes:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$JN2O3jChgSnsuEJxMDpR3.ZeZizi1vesVTLeZcE90t0jzRiQk0sUy\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:34:55'\n updated_at: '2018-01-05 23:34:55'\n attributes: !ruby/object:ActiveRecord::AttributeSet\n attributes: !ruby/object:ActiveRecord::LazyAttributeHash\n types:\n id: &4 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n email: &1 !ruby/object:ActiveRecord::Type::String\n precision: \n scale: \n limit: 255\n encrypted_password: *1\n reset_password_token: *1\n reset_password_sent_at: &5 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: &2 !ruby/object:ActiveRecord::Type::DateTime\n precision: \n scale: \n limit: \n remember_created_at: &6 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n sign_in_count: &3 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n current_sign_in_at: &7 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n last_sign_in_at: &8 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n current_sign_in_ip: *1\n last_sign_in_ip: *1\n permission_class: *3\n created_at: &9 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n updated_at: &10 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n values:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$JN2O3jChgSnsuEJxMDpR3.ZeZizi1vesVTLeZcE90t0jzRiQk0sUy\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:34:55'\n updated_at: '2018-01-05 23:34:55'\n additional_types: {}\n materialized: true\n delegate_hash:\n id: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: id\n value_before_type_cast: 160683007\n type: *4\n value: 160683007\n email: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: email\n value_before_type_cast: loser@example.com\n type: *1\n encrypted_password: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: encrypted_password\n value_before_type_cast: \"$2a$04$JN2O3jChgSnsuEJxMDpR3.ZeZizi1vesVTLeZcE90t0jzRiQk0sUy\"\n type: *1\n reset_password_token: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_token\n value_before_type_cast: \n type: *1\n reset_password_sent_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_sent_at\n value_before_type_cast: \n type: *5\n remember_created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: remember_created_at\n value_before_type_cast: \n type: *6\n sign_in_count: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: sign_in_count\n value_before_type_cast: 0\n type: *3\n current_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_at\n value_before_type_cast: \n type: *7\n last_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_at\n value_before_type_cast: \n type: *8\n current_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_ip\n value_before_type_cast: \n type: *1\n last_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_ip\n value_before_type_cast: \n type: *1\n permission_class: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: permission_class\n value_before_type_cast: 1\n type: *3\n created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: created_at\n value_before_type_cast: '2018-01-05 23:34:55'\n type: *9\n updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: updated_at\n value_before_type_cast: '2018-01-05 23:34:55'\n type: *10\n new_record: false\n active_record_yaml_version: 0\n:data: Here's some data\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:57.511787"], ["updated_at", "2018-01-05 23:34:57.511787"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.511787"], ["updated_at", "2018-01-05 23:34:57.525653"], ["id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error with the correct params. +------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "last_experiencer_id", "last_experiencer_type", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:59:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"], ["created_at", "2018-01-05 23:34:57.555782"], ["updated_at", "2018-01-05 23:34:57.555782"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["experiencer_id", 160683007], ["experiencer_type", "User"], ["param_values", "---\n:user: !ruby/object:User\n raw_attributes:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$JN2O3jChgSnsuEJxMDpR3.ZeZizi1vesVTLeZcE90t0jzRiQk0sUy\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:34:55'\n updated_at: '2018-01-05 23:34:55'\n attributes: !ruby/object:ActiveRecord::AttributeSet\n attributes: !ruby/object:ActiveRecord::LazyAttributeHash\n types:\n id: &4 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n email: &1 !ruby/object:ActiveRecord::Type::String\n precision: \n scale: \n limit: 255\n encrypted_password: *1\n reset_password_token: *1\n reset_password_sent_at: &5 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: &2 !ruby/object:ActiveRecord::Type::DateTime\n precision: \n scale: \n limit: \n remember_created_at: &6 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n sign_in_count: &3 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n current_sign_in_at: &7 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n last_sign_in_at: &8 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n current_sign_in_ip: *1\n last_sign_in_ip: *1\n permission_class: *3\n created_at: &9 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n updated_at: &10 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n values:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$JN2O3jChgSnsuEJxMDpR3.ZeZizi1vesVTLeZcE90t0jzRiQk0sUy\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:34:55'\n updated_at: '2018-01-05 23:34:55'\n additional_types: {}\n materialized: true\n delegate_hash:\n id: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: id\n value_before_type_cast: 160683007\n type: *4\n value: 160683007\n email: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: email\n value_before_type_cast: loser@example.com\n type: *1\n encrypted_password: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: encrypted_password\n value_before_type_cast: \"$2a$04$JN2O3jChgSnsuEJxMDpR3.ZeZizi1vesVTLeZcE90t0jzRiQk0sUy\"\n type: *1\n reset_password_token: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_token\n value_before_type_cast: \n type: *1\n reset_password_sent_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_sent_at\n value_before_type_cast: \n type: *5\n remember_created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: remember_created_at\n value_before_type_cast: \n type: *6\n sign_in_count: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: sign_in_count\n value_before_type_cast: 0\n type: *3\n current_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_at\n value_before_type_cast: \n type: *7\n last_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_at\n value_before_type_cast: \n type: *8\n current_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_ip\n value_before_type_cast: \n type: *1\n last_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_ip\n value_before_type_cast: \n type: *1\n permission_class: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: permission_class\n value_before_type_cast: 1\n type: *3\n created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: created_at\n value_before_type_cast: '2018-01-05 23:34:55'\n type: *9\n updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: updated_at\n value_before_type_cast: '2018-01-05 23:34:55'\n type: *10\n new_record: false\n active_record_yaml_version: 0\n:data: Here's some data\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:57.578647"], ["updated_at", "2018-01-05 23:34:57.578647"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.578647"], ["updated_at", "2018-01-05 23:34:57.588143"], ["id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should not create an error, but should send notification with Errdo.notify. +----------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan allowed user should be able to get the errors index. +---------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error13\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "e42954bc570b41408c0b52621c5a879071f1e809"], ["created_at", "2018-01-05 23:34:57.619137"], ["updated_at", "2018-01-05 23:34:57.619137"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.622831"], ["updated_at", "2018-01-05 23:34:57.622831"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.622831"], ["updated_at", "2018-01-05 23:34:57.626014"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]] +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:57.638219"], ["current_sign_in_at", "2018-01-05 23:34:57.638219"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:57.639432"], ["id", 227792459]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 10ms (ActiveRecord: 0.8ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.3ms) +Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 227792459]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:34:57.666821') + Errdo::ErrorOccurrence Load (0.3ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:34:57.669155') + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (21.8ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 39ms (Views: 25.2ms | ActiveRecord: 0.6ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------ +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to update the error. +------------------------------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error14\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "aadcd38795aade729c342eb06b447741a5a6e5a8"], ["created_at", "2018-01-05 23:34:57.701478"], ["updated_at", "2018-01-05 23:34:57.701478"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.705616"], ["updated_at", "2018-01-05 23:34:57.705616"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.705616"], ["updated_at", "2018-01-05 23:34:57.708232"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:57.724281"], ["current_sign_in_at", "2018-01-05 23:34:57.724281"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:57.725473"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 8ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 3ms (ActiveRecord: 0.1ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to get the error show page. +------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error15\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "8d1082c98128ced486c09c3c048c7e18be807274"], ["created_at", "2018-01-05 23:34:57.743923"], ["updated_at", "2018-01-05 23:34:57.743923"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.747972"], ["updated_at", "2018-01-05 23:34:57.747972"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.747972"], ["updated_at", "2018-01-05 23:34:57.752110"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:57.769323"], ["current_sign_in_at", "2018-01-05 23:34:57.769323"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:57.770601"], ["id", 160683007]] +  (0.5ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 7ms (ActiveRecord: 0.7ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block allowed user should be able to get the errors index. +--------------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error16\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "d77d1e06472f511277a6c747c1c110b786c2f00d"], ["created_at", "2018-01-05 23:34:57.789158"], ["updated_at", "2018-01-05 23:34:57.789158"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.792642"], ["updated_at", "2018-01-05 23:34:57.792642"]] + SQL (0.4ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.792642"], ["updated_at", "2018-01-05 23:34:57.796338"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:57.811681"], ["current_sign_in_at", "2018-01-05 23:34:57.811681"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:57.813137"], ["id", 227792459]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 8ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 227792459]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:34:57.827072') + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:34:57.829149') + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (3.7ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 14ms (Views: 8.1ms | ActiveRecord: 0.4ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------ +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to get the error show page. +------------------------------------------------------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error17\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "c8abae6977ce6970a9e2b557caed6ccd935444ec"], ["created_at", "2018-01-05 23:34:57.843801"], ["updated_at", "2018-01-05 23:34:57.843801"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.847474"], ["updated_at", "2018-01-05 23:34:57.847474"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.847474"], ["updated_at", "2018-01-05 23:34:57.851194"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:57.865370"], ["current_sign_in_at", "2018-01-05 23:34:57.865370"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:57.866415"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.2ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to get the errors index. +--------------------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error18\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "0730249282830e3120920443da0f5e3e1ef130f1"], ["created_at", "2018-01-05 23:34:57.881081"], ["updated_at", "2018-01-05 23:34:57.881081"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.884272"], ["updated_at", "2018-01-05 23:34:57.884272"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.884272"], ["updated_at", "2018-01-05 23:34:57.887797"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:57.900371"], ["current_sign_in_at", "2018-01-05 23:34:57.900371"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:57.901420"], ["id", 160683007]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 7ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to get the errors index. +---------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error19\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "57de8250b370c9cdc58579cfeb97e2bc9ec63089"], ["created_at", "2018-01-05 23:34:57.917404"], ["updated_at", "2018-01-05 23:34:57.917404"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.921270"], ["updated_at", "2018-01-05 23:34:57.921270"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.921270"], ["updated_at", "2018-01-05 23:34:57.924655"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:57.937724"], ["current_sign_in_at", "2018-01-05 23:34:57.937724"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:57.938910"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 7ms (ActiveRecord: 0.2ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to update the error. +----------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error20\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:34:55.507786"], ["backtrace_hash", "0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525"], ["created_at", "2018-01-05 23:34:57.955948"], ["updated_at", "2018-01-05 23:34:57.955948"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:57.963695"], ["updated_at", "2018-01-05 23:34:57.963695"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:57.963695"], ["updated_at", "2018-01-05 23:34:57.965960"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:34:57.979289"], ["current_sign_in_at", "2018-01-05 23:34:57.979289"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:34:57.980079"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:34:57 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------- +NonWebTest: test_: rake tasks should create not an error when a task fails when not set. +----------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------- +NonWebTest: test_: active jobs should log to errdo when job fails asynchronously. +---------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +[ActiveJob] [FailJob] [3fa45f6d-6ea9-461a-8a5a-5ab9e5fd2e4c] Performing FailJob from Inline(default) +[ActiveJob] [FailJob] [3fa45f6d-6ea9-461a-8a5a-5ab9e5fd2e4c] Performed FailJob from Inline(default) in 0.09ms + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6fd7e35a428d8d0bc287e040f4c6c39d4e765d13"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "AsynchronousFailure"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:10:in `perform'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:32:in `block\n in perform_now'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:498:in\n `block (2 levels) in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:343:in\n `block (2 levels) in simple'\"\n- \"/var/lib/gems/2.3.0/gems/i18n-0.9.1/lib/i18n.rb:265:in `with_locale'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/translation.rb:7:in `block\n (2 levels) in <module:Translation>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `block in make_lambda'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:342:in\n `block in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:497:in\n `block in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:498:in\n `block (2 levels) in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:343:in\n `block (2 levels) in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:23:in `block\n (4 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:22:in `block\n (3 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:43:in `block\n in tag_logger'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:43:in `tag_logger'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:19:in `block\n (2 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `block in make_lambda'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:342:in\n `block in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:497:in\n `block in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_perform_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:31:in `perform_now'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:16:in `perform_now'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:63:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:61:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:73:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:73:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6fd7e35a428d8d0bc287e040f4c6c39d4e765d13"], ["created_at", "2018-01-05 23:34:57.999886"], ["updated_at", "2018-01-05 23:34:57.999886"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:58.006838"], ["updated_at", "2018-01-05 23:34:58.006838"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:58.006838"], ["updated_at", "2018-01-05 23:34:58.011018"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------ +NonWebTest: test_: rake tasks should create an error when a task fails. +------------------------------------------------------------------------ +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "5cedfe50e43fb3a9caf1946654f8ecf475a6314f"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "ERRA"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/lib/tasks/test.rake:4:in `block (2 levels)\n in <top (required)>'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'\"\n- \"/home/chronos/repos/errdo/lib/errdo/rake/task.rb:8:in `execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'\"\n- \"/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:33:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:32:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "5cedfe50e43fb3a9caf1946654f8ecf475a6314f"], ["created_at", "2018-01-05 23:34:58.026861"], ["updated_at", "2018-01-05 23:34:58.026861"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:34:58.031495"], ["updated_at", "2018-01-05 23:34:58.031495"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:58.031495"], ["updated_at", "2018-01-05 23:34:58.034015"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------- +NonWebTest: test_: rake tasks should not create an error when a task fails with an interrupt. +---------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrdoGeneratorTest: test_: ErrdoGenerator should add class name to initializer. +-------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to successfully get the index. +--------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:58.059341"], ["updated_at", "2018-01-05 23:34:58.059341"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:58.069244"], ["updated_at", "2018-01-05 23:34:58.069244"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:58.069244"], ["updated_at", "2018-01-05 23:34:58.075101"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by Errdo::ErrorsController#index as HTML + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:34:58.096288') + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:34:58.097833') + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (2.1ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.2ms) +Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.3ms) +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to successfully get the error's page. +---------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:58.114649"], ["updated_at", "2018-01-05 23:34:58.114649"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:58.126756"], ["updated_at", "2018-01-05 23:34:58.126756"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:58.126756"], ["updated_at", "2018-01-05 23:34:58.131668"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:34:58.162511') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:34:58.162511') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (9.0ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.2ms) +Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.7ms) +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific index selected. +--------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:58.182301"], ["updated_at", "2018-01-05 23:34:58.182301"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:58.193367"], ["updated_at", "2018-01-05 23:34:58.193367"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:58.193367"], ["updated_at", "2018-01-05 23:34:58.198960"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1?occurrence_index=0" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_index"=>"0", "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:34:58.227824') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:34:58.227824') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (8.7ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.2ms) +Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.7ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------ +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific instance selected. +------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:58.245416"], ["updated_at", "2018-01-05 23:34:58.245416"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:58.257315"], ["updated_at", "2018-01-05 23:34:58.257315"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:58.257315"], ["updated_at", "2018-01-05 23:34:58.262490"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1?occurrence_id=1" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_id"=>"1", "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:34:58.291665') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:34:58.291665') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (8.2ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.2ms) +Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.7ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------- +ViewsIntegrationTest: test_: views should strip off asset hash. +---------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:34:58.309229"], ["updated_at", "2018-01-05 23:34:58.309229"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:34:58.320926"], ["updated_at", "2018-01-05 23:34:58.320926"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:58.320926"], ["updated_at", "2018-01-05 23:34:58.325908"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/static/view_error" for 127.0.0.1 at 2018-01-05 18:34:58 -0500 +Processing by StaticController#view_error as HTML + Rendered static/view_error.html.erb within layouts/application (61.4ms) +Completed 401 Unauthorized in 62ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined local variable or method `error' for #<#<Class:0x0000000565d808>:0x0000000a082e38> +Did you mean? errdo): + 1: <%= error %> + app/views/static/view_error.html.erb:1:in `_app_views_static_view_error_html_erb__3031307330278951117_84151480' + actionview (4.2.10) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.10) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.10) lib/action_view/template.rb:143:in `render' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.10) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.10) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.10) lib/action_view/renderer/renderer.rb:46:in `render_template' + actionview (4.2.10) lib/action_view/renderer/renderer.rb:27:in `render' + actionview (4.2.10) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.10) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.10) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.10) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.10) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block (2 levels) in <class:ViewsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "ActionView::Template::Error"], ["exception_message", "undefined local variable or method `error' for #<#<Class:0x0000000565d808>:0x0000000a082e38>\nDid you mean? errdo"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/view_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/views/static/view_error.html.erb:1:in\n `_app_views_static_view_error_html_erb'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:145:in `block\n in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:333:in `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:143:in `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:54:in\n `block (2 levels) in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/abstract_renderer.rb:39:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/abstract_renderer.rb:39:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:53:in\n `block in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:61:in\n `render_with_layout'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:52:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:14:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/renderer.rb:46:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/renderer.rb:27:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:100:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/streaming.rb:217:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:83:in `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/renderers.rb:37:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/rendering.rb:25:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:16:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:10:in\n `default_render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527"], ["created_at", "2018-01-05 23:34:58.418870"], ["updated_at", "2018-01-05 23:34:58.418870"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: view_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 2], ["created_at", "2018-01-05 23:34:58.431612"], ["updated_at", "2018-01-05 23:34:58.431612"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 2]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' AND "errors"."id" != 2) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:34:58.431612"], ["updated_at", "2018-01-05 23:34:58.437198"], ["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' AND "errors"."id" != 2) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 2]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$/1GC4IN3y1DUGxBdH.qeW.712wGxYpu1LqwgfS7FQZITd2MFaCWU.', '2018-01-05 23:35:45', '2018-01-05 23:35:45', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$mkW7Uki/V6H2PEWkpvG25eSyaevfURhJgT5pzTwTHphmpAKiUkcwC', '2018-01-05 23:35:45', '2018-01-05 23:35:45', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$fK0yYPCPV0lTNzmE3vgGouuXLyTO1JloWZHttXxNuEe/DKgFbiJCu', 1, '2018-01-05 23:35:45', '2018-01-05 23:35:45', 160683007) +  (5.5ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:35:45 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:35:45.455261"], ["updated_at", "2018-01-05 23:35:45.455261"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$LyfoH92t2p.PhCdNP6yiveND9F1JR/xYgOSassFSjoVEzrcEh7wJW', '2018-01-05 23:36:04', '2018-01-05 23:36:04', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$8Vsw910Mo9RK9sv2hace3e99YVBzUAPIz2xknIu6Y4H8nrcm5M9Dm', '2018-01-05 23:36:04', '2018-01-05 23:36:04', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$aT3Xtq4RClZHX60IBdP/IuPFLtbC7eokCTR8fcq/h1.g3ip5Ed19W', 1, '2018-01-05 23:36:04', '2018-01-05 23:36:04', 160683007) +  (5.0ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:36:04 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:36:04.215775"], ["updated_at", "2018-01-05 23:36:04.215775"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$jTsz9A1xasEpLXFu6hcSh.V57uFuTWdRvivzOPfwwu4rIzamG7Ry6', '2018-01-05 23:36:27', '2018-01-05 23:36:27', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$scCQS7ZZDdbz51fHhSZqtOh696BTTQhgA6X8bCSt7f2Za49RKK0Ze', '2018-01-05 23:36:27', '2018-01-05 23:36:27', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$ABYKa8wJBt7rIht4Q5di/uKnZtOPQJQh1udKKbaF.nTM4dzIYc5Rq', 1, '2018-01-05 23:36:27', '2018-01-05 23:36:27', 160683007) +  (5.1ms) commit transaction +  (0.0ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:36:27 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:36:27.743085"], ["updated_at", "2018-01-05 23:36:27.743085"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$NMVRakRxJkQVYzxlYQb5k.WxcrFEXguD59DtkTpDzhhe/3QZIaxrO', '2018-01-05 23:36:49', '2018-01-05 23:36:49', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$O577HQnZMkaE/aL8lBnjR.4IeTDfq4zHhaBw6jFYivwjrR88ZNWQ.', '2018-01-05 23:36:49', '2018-01-05 23:36:49', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$w0oOjUN.nhuFsPgGQ.PGDufKC8kQcyLEZzdV/WyrD1PglM9vaxEaC', 1, '2018-01-05 23:36:49', '2018-01-05 23:36:49', 160683007) +  (5.0ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:36:49 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:36:49.871940"], ["updated_at", "2018-01-05 23:36:49.871940"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$sPWfDmM/ApevxKlzTrzQXu9YY4x7TdXALhr9kq24YoG2VaNDnBDt2', '2018-01-05 23:38:54', '2018-01-05 23:38:54', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$hMJc.p3yIwQ9k78HbL772u9bz58uX4DYANGVRKaP5E5VKwoBgpaKm', '2018-01-05 23:38:54', '2018-01-05 23:38:54', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$aFGC3eUP9aqRapGsMzDFbuJOgAWM2Dh5wtVOMCwAeuz7CgG/cpfDS', 1, '2018-01-05 23:38:54', '2018-01-05 23:38:54', 160683007) +  (5.0ms) commit transaction +  (0.0ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:38:54 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:38:54.367653"], ["updated_at", "2018-01-05 23:38:54.367653"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$ElaEKvVl3mOe.38zF0rvnOcDWAac6PeJzsA5v9cyZh5vyGtMvj.16', '2018-01-05 23:39:04', '2018-01-05 23:39:04', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$z3TD106euQ10B/sg1qRrGu7orCJeyBBRhyWrURXFNke0StzchVVnK', '2018-01-05 23:39:04', '2018-01-05 23:39:04', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$M181lxyLu57euNrXrIASheAZT5RD9VxXP2NhtHjYD4ZF3gMFym9yG', 1, '2018-01-05 23:39:04', '2018-01-05 23:39:04', 160683007) +  (5.8ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:39:04 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:39:04.130476"], ["updated_at", "2018-01-05 23:39:04.130476"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.5ms) SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$GdQmzLToglKbbnogUwcrd.xu3ArOhzXZEwWVN9T0yG5JgvFy/efh6', '2018-01-05 23:39:23', '2018-01-05 23:39:23', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$FNr2w4S2RJJ0qb22.5/o/.06RsKIW6/256ibaKJHrVdvZjvQ7kbcy', '2018-01-05 23:39:23', '2018-01-05 23:39:23', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$HzI4N.Vju6zvvIt8xbPx0O2b49Vy5cHSnrcSv4kqWvOyaHu.kogFa', 1, '2018-01-05 23:39:23', '2018-01-05 23:39:23', 160683007) +  (5.0ms) commit transaction +  (0.0ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:39:23 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:39:23.141770"], ["updated_at", "2018-01-05 23:39:23.141770"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$Hh4GKN.fU/uVtFJuyjJwnu1IQTgSO/5BJr/pWQkPI9CHOkvANHGtS', '2018-01-05 23:40:06', '2018-01-05 23:40:06', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$akM2FOryzEOPdieEJtrMae1ILiQmM.Gm2N0zoTD4b7KCSEYGeTH1.', '2018-01-05 23:40:06', '2018-01-05 23:40:06', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$o3woCnDa2PW6IKC7i53ocebJxTItos3PBZg6yLccC1yBKexgSza6m', 1, '2018-01-05 23:40:06', '2018-01-05 23:40:06', 160683007) +  (5.1ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:40:06 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:40:06.764079"], ["updated_at", "2018-01-05 23:40:06.764079"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$O.fptd24.mVhTE2hDIk7m.wuGy.1gU3/vGCWaELcIlWNA3WL3Q51.', '2018-01-05 23:41:18', '2018-01-05 23:41:18', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$KG/Ei.6nHSLyl35T0vVrJeKMn2m8pzE/pfXj4TAzWgxpZnT9Lg/FO', '2018-01-05 23:41:18', '2018-01-05 23:41:18', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$oGaRJ0M6o4FHuT0u2TSXA.Go8bZHLKiq5uVCC4tbv5TSlJo082e0q', 1, '2018-01-05 23:41:18', '2018-01-05 23:41:18', 160683007) +  (5.1ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:41:18 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:41:18.788209"], ["updated_at", "2018-01-05 23:41:18.788209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$AP2PzfYAgshWJQsy8spjme0JL25./EJIiEL69qUONnQy6opmNZmn.', '2018-01-05 23:43:28', '2018-01-05 23:43:28', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$iUuQPWrOVC7Y6pCWIpx2HeldsUgGbRHtoOSpE8dZMgo4mNt4N7mr.', '2018-01-05 23:43:28', '2018-01-05 23:43:28', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$Nb5Wgyhz2pWlLlfxKGz5u.Sa1DLpYCZNDXa/AWWfWuNBT1DOGEe8q', 1, '2018-01-05 23:43:28', '2018-01-05 23:43:28', 160683007) +  (5.1ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:43:28 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:43:28.620598"], ["updated_at", "2018-01-05 23:43:28.620598"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.7ms) SAVEPOINT active_record_1 +  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$SzQXIcQQW58Rg/398Q89UuFFyg1/5KQi6ZXU/9x322B1sBAuE9nZC', '2018-01-05 23:45:06', '2018-01-05 23:45:06', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$JSJtYKBJWFepi.aj7PzUoufEyhBMYBeZt2ZUXhpVQqZN8CUR4UVYa', '2018-01-05 23:45:06', '2018-01-05 23:45:06', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$WSlqxx2Hz5DIIHPhUwKX2.3yRoE9o0i543Gh8Y.DugX4XXAxbgx96', 1, '2018-01-05 23:45:06', '2018-01-05 23:45:06', 160683007) +  (4.9ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:45:06 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:45:07.025422"], ["updated_at", "2018-01-05 23:45:07.025422"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$MlxZA2DSkM9iaMT0VcpzcebtWT6LUu/.QS/x7MejNEqPL5hJ.R0xS', '2018-01-05 23:47:36', '2018-01-05 23:47:36', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$.OOWozk6faRGIJbX/L1NXuS1hleC5dqsd9IDpwUceOA8xzZVDEkFK', '2018-01-05 23:47:36', '2018-01-05 23:47:36', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$stxHdkSkDk1zY9WBGKdBRemxe7GWse4O2L6xsAUi7xiXDCgT3IM3O', 1, '2018-01-05 23:47:36', '2018-01-05 23:47:36', 160683007) +  (5.3ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:47:36 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.5ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:47:36.967635"], ["updated_at", "2018-01-05 23:47:36.967635"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$EDI1BjtWqBmj4nGvzgP3IuEC.N3GL0cbeQj0YDWrEd81MibY17hMi', '2018-01-05 23:49:18', '2018-01-05 23:49:18', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$PzujczIJDNqiYp3BdaSRBOrserri2VcH.AEeNkbmFty0Jycf5/BaS', '2018-01-05 23:49:18', '2018-01-05 23:49:18', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$IuJCvXasLZWTdiYfyMzMseJE4eheSiCcT9kq6wTnXPIMnZsAMx.0W', 1, '2018-01-05 23:49:18', '2018-01-05 23:49:18', 160683007) +  (4.7ms) commit transaction +  (0.0ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:49:18 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:49:18.531380"], ["updated_at", "2018-01-05 23:49:18.531380"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.8ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$kriX/MZnMZqxMb/JvPjz0OZeYayxk2/T8FfOIpRIzKM1K7qiEIDv.', '2018-01-05 23:49:50', '2018-01-05 23:49:50', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$9twbCFaqOEu5Gn3Wl0WVA.JNNPDrvYviG7LsjwQQPd8gFioPugCLS', '2018-01-05 23:49:50', '2018-01-05 23:49:50', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$HNW6LlWEGXiqFK9uD21HJuQHEso.li040bFMVcVLZJd44AbApuw7S', 1, '2018-01-05 23:49:50', '2018-01-05 23:49:50', 160683007) +  (5.0ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:49:50 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:49:50.416305"], ["updated_at", "2018-01-05 23:49:50.416305"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$Vu6.I/O5/LeF6WXtij1WdOfC/fabVtyzFqMOY9YYBqYjeVt0Tc.je', '2018-01-05 23:51:53', '2018-01-05 23:51:53', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$yMocJ9w3s/DnNlexngru5uSJfkQ76ZlZnOJx0UpzDS3XSWb2X3B3C', '2018-01-05 23:51:53', '2018-01-05 23:51:53', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$9fH9wPGFNUyyuJkT5Y3PC.YsEDk0MIK3LAO7Zsk/UiNKiYf.hKArC', 1, '2018-01-05 23:51:53', '2018-01-05 23:51:53', 160683007) +  (5.0ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:51:53 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:51:53.533633"], ["updated_at", "2018-01-05 23:51:53.533633"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "utf=%C3%28"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nutf: \"�(\"\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:52:01.028276"], ["updated_at", "2018-01-05 23:52:01.028276"]] + SQL (0.4ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:52:01.028276"], ["updated_at", "2018-01-05 23:52:01.037639"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.3ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$Q9XJZFfdP.v/Bts/jfhlyOQ0kVqAtGdJKNuXbtPG2AoinS2g4P3py', '2018-01-05 23:53:04', '2018-01-05 23:53:04', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$zOEWGT8khXrCKAuBGC1X/ObV2E3F33GmJuvxmB3t7EKNjsg3I.QUy', '2018-01-05 23:53:04', '2018-01-05 23:53:04', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$Q.pcj7HBRhlsqWP2CWzeAe1LSK/B3Fcno/NmMtIxmLP7mS.zDdrOi', 1, '2018-01-05 23:53:04', '2018-01-05 23:53:04', 160683007) +  (4.8ms) commit transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error, but should not send notification with Errdo.log. +-------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:51:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:50:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "info"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:53:04.362605"], ["updated_at", "2018-01-05 23:53:04.362605"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:04.389916"], ["updated_at", "2018-01-05 23:53:04.389916"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.389916"], ["updated_at", "2018-01-05 23:53:04.394701"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error with the correct params. +------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 + SQL (0.6ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "last_experiencer_id", "last_experiencer_type", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:59:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"], ["created_at", "2018-01-05 23:53:04.410000"], ["updated_at", "2018-01-05 23:53:04.410000"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["experiencer_id", 160683007], ["experiencer_type", "User"], ["param_values", "---\n:user: !ruby/object:User\n raw_attributes:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$Q.pcj7HBRhlsqWP2CWzeAe1LSK/B3Fcno/NmMtIxmLP7mS.zDdrOi\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:53:04'\n updated_at: '2018-01-05 23:53:04'\n attributes: !ruby/object:ActiveRecord::AttributeSet\n attributes: !ruby/object:ActiveRecord::LazyAttributeHash\n types:\n id: &4 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n email: &1 !ruby/object:ActiveRecord::Type::String\n precision: \n scale: \n limit: 255\n encrypted_password: *1\n reset_password_token: *1\n reset_password_sent_at: &5 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: &2 !ruby/object:ActiveRecord::Type::DateTime\n precision: \n scale: \n limit: \n remember_created_at: &6 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n sign_in_count: &3 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n current_sign_in_at: &7 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n last_sign_in_at: &8 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n current_sign_in_ip: *1\n last_sign_in_ip: *1\n permission_class: *3\n created_at: &9 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n updated_at: &10 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n values:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$Q.pcj7HBRhlsqWP2CWzeAe1LSK/B3Fcno/NmMtIxmLP7mS.zDdrOi\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:53:04'\n updated_at: '2018-01-05 23:53:04'\n additional_types: {}\n materialized: true\n delegate_hash:\n id: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: id\n value_before_type_cast: 160683007\n type: *4\n value: 160683007\n email: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: email\n value_before_type_cast: loser@example.com\n type: *1\n encrypted_password: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: encrypted_password\n value_before_type_cast: \"$2a$04$Q.pcj7HBRhlsqWP2CWzeAe1LSK/B3Fcno/NmMtIxmLP7mS.zDdrOi\"\n type: *1\n reset_password_token: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_token\n value_before_type_cast: \n type: *1\n reset_password_sent_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_sent_at\n value_before_type_cast: \n type: *5\n remember_created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: remember_created_at\n value_before_type_cast: \n type: *6\n sign_in_count: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: sign_in_count\n value_before_type_cast: 0\n type: *3\n current_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_at\n value_before_type_cast: \n type: *7\n last_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_at\n value_before_type_cast: \n type: *8\n current_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_ip\n value_before_type_cast: \n type: *1\n last_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_ip\n value_before_type_cast: \n type: *1\n permission_class: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: permission_class\n value_before_type_cast: 1\n type: *3\n created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: created_at\n value_before_type_cast: '2018-01-05 23:53:04'\n type: *9\n updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: updated_at\n value_before_type_cast: '2018-01-05 23:53:04'\n type: *10\n new_record: false\n active_record_yaml_version: 0\n:data: Here's some data\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:04.443727"], ["updated_at", "2018-01-05 23:53:04.443727"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.443727"], ["updated_at", "2018-01-05 23:53:04.456080"], ["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.error. +---------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:20:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:18:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"], ["created_at", "2018-01-05 23:53:04.488492"], ["updated_at", "2018-01-05 23:53:04.488492"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:04.492592"], ["updated_at", "2018-01-05 23:53:04.492592"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.492592"], ["updated_at", "2018-01-05 23:53:04.495224"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and scrub the params. +---------------------------------------------------------------------------------------------------- + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "cee8810db22966c8023ed850bd959c1e06409fbc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["exception_message", "Cool beans2"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:82:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "info"], ["backtrace_hash", "cee8810db22966c8023ed850bd959c1e06409fbc"], ["created_at", "2018-01-05 23:53:04.508183"], ["updated_at", "2018-01-05 23:53:04.508183"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["param_values", "---\n:password: \"...\"\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:04.513083"], ["updated_at", "2018-01-05 23:53:04.513083"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.513083"], ["updated_at", "2018-01-05 23:53:04.516716"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error with no exception and set params. +---------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "0cb232d4e942cb440ecc02ee10363093c70c8950"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "last_experiencer_id", "last_experiencer_type", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:75:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["backtrace_hash", "0cb232d4e942cb440ecc02ee10363093c70c8950"], ["created_at", "2018-01-05 23:53:04.527516"], ["updated_at", "2018-01-05 23:53:04.527516"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["experiencer_id", 160683007], ["experiencer_type", "User"], ["param_values", "---\n:user: !ruby/object:User\n raw_attributes:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$Q.pcj7HBRhlsqWP2CWzeAe1LSK/B3Fcno/NmMtIxmLP7mS.zDdrOi\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:53:04'\n updated_at: '2018-01-05 23:53:04'\n attributes: !ruby/object:ActiveRecord::AttributeSet\n attributes: !ruby/object:ActiveRecord::LazyAttributeHash\n types:\n id: &4 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n email: &1 !ruby/object:ActiveRecord::Type::String\n precision: \n scale: \n limit: 255\n encrypted_password: *1\n reset_password_token: *1\n reset_password_sent_at: &5 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: &2 !ruby/object:ActiveRecord::Type::DateTime\n precision: \n scale: \n limit: \n remember_created_at: &6 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n sign_in_count: &3 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n current_sign_in_at: &7 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n last_sign_in_at: &8 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n current_sign_in_ip: *1\n last_sign_in_ip: *1\n permission_class: *3\n created_at: &9 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n updated_at: &10 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n values:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$Q.pcj7HBRhlsqWP2CWzeAe1LSK/B3Fcno/NmMtIxmLP7mS.zDdrOi\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:53:04'\n updated_at: '2018-01-05 23:53:04'\n additional_types: {}\n materialized: true\n delegate_hash:\n id: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: id\n value_before_type_cast: 160683007\n type: *4\n value: 160683007\n email: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: email\n value_before_type_cast: loser@example.com\n type: *1\n encrypted_password: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: encrypted_password\n value_before_type_cast: \"$2a$04$Q.pcj7HBRhlsqWP2CWzeAe1LSK/B3Fcno/NmMtIxmLP7mS.zDdrOi\"\n type: *1\n reset_password_token: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_token\n value_before_type_cast: \n type: *1\n reset_password_sent_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_sent_at\n value_before_type_cast: \n type: *5\n remember_created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: remember_created_at\n value_before_type_cast: \n type: *6\n sign_in_count: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: sign_in_count\n value_before_type_cast: 0\n type: *3\n current_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_at\n value_before_type_cast: \n type: *7\n last_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_at\n value_before_type_cast: \n type: *8\n current_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_ip\n value_before_type_cast: \n type: *1\n last_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_ip\n value_before_type_cast: \n type: *1\n permission_class: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: permission_class\n value_before_type_cast: 1\n type: *3\n created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: created_at\n value_before_type_cast: '2018-01-05 23:53:04'\n type: *9\n updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: updated_at\n value_before_type_cast: '2018-01-05 23:53:04'\n type: *10\n new_record: false\n active_record_yaml_version: 0\n:data: Here's some data\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:04.545888"], ["updated_at", "2018-01-05 23:53:04.545888"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.3ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.545888"], ["updated_at", "2018-01-05 23:53:04.555635"], ["id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should not create an error, but should send notification with Errdo.notify. +----------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.error even when nothing is set. +----------------------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:29:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:53:04.582863"], ["updated_at", "2018-01-05 23:53:04.582863"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:04.588368"], ["updated_at", "2018-01-05 23:53:04.588368"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.588368"], ["updated_at", "2018-01-05 23:53:04.591216"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.warn. +--------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:37:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:36:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "warning"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:53:04.604495"], ["updated_at", "2018-01-05 23:53:04.604495"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:04.608968"], ["updated_at", "2018-01-05 23:53:04.608968"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.608968"], ["updated_at", "2018-01-05 23:53:04.612495"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) SELECT COUNT(*) FROM "errors" +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should default to nil when nothing set. +--------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should correctly respond to changing the user_string_method. +-------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should correctly respond to changing the user_show_page. +-------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should default to email. +-------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------- +ErrorOccurrenceTest: test_: model linkages should have correct relations. +-------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-01-05 23:53:04.634822"], ["updated_at", "2018-01-05 23:53:04.634822"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------- +ErrorOccurrenceTest: test_: callbacks should update last_occurrence of error when created. +------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error1\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "c6774fe2a301bd770286cdb7764abc2698878b68"], ["created_at", "2018-01-05 23:53:04.638861"], ["updated_at", "2018-01-05 23:53:04.638861"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:04.641835"], ["updated_at", "2018-01-05 23:53:04.641835"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.641835"], ["updated_at", "2018-01-05 23:53:04.644736"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to update the error. +----------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error2\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "177ea0ad92f01de4faaa5ca73e8e620092af76d1"], ["created_at", "2018-01-05 23:53:04.650870"], ["updated_at", "2018-01-05 23:53:04.650870"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:04.653238"], ["updated_at", "2018-01-05 23:53:04.653238"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.653238"], ["updated_at", "2018-01-05 23:53:04.656039"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:04 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:04.695472"], ["current_sign_in_at", "2018-01-05 23:53:04.695472"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:04.696306"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 27ms (ActiveRecord: 0.4ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:04 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.8ms) +Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:04 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan allowed user should be able to get the errors index. +---------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error3\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "4856910b699c55151aa2deec55cb1b935bff0da7"], ["created_at", "2018-01-05 23:53:04.763839"], ["updated_at", "2018-01-05 23:53:04.763839"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:04.766250"], ["updated_at", "2018-01-05 23:53:04.766250"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:04.766250"], ["updated_at", "2018-01-05 23:53:04.768633"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:04 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:04.780420"], ["current_sign_in_at", "2018-01-05 23:53:04.780420"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:04.781161"], ["id", 227792459]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 7ms (ActiveRecord: 0.2ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:04 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.7ms) +Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:04 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 227792459]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:53:04.802114') + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:53:04.804151') + Errdo::Error Load (0.3ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (14.0ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (4.9ms) +Completed 200 OK in 275ms (Views: 267.7ms | ActiveRecord: 0.7ms) +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block allowed user should be able to get the errors index. +--------------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.3ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error4\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "58725a22b76efac22d1497f85441af197fb13401"], ["created_at", "2018-01-05 23:53:05.080413"], ["updated_at", "2018-01-05 23:53:05.080413"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.083599"], ["updated_at", "2018-01-05 23:53:05.083599"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.083599"], ["updated_at", "2018-01-05 23:53:05.086681"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:05.102522"], ["current_sign_in_at", "2018-01-05 23:53:05.102522"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:05.103630"], ["id", 227792459]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 8ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 227792459]] + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:53:05.124310') + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:53:05.126699') + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (3.2ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 13ms (Views: 5.5ms | ActiveRecord: 0.6ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------ +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to get the error show page. +------------------------------------------------------------------------------------------------------------------------------ +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error5\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "163e8aa7d37dfe3f9f2527382cbdb14a32920e75"], ["created_at", "2018-01-05 23:53:05.139483"], ["updated_at", "2018-01-05 23:53:05.139483"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.142606"], ["updated_at", "2018-01-05 23:53:05.142606"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.142606"], ["updated_at", "2018-01-05 23:53:05.146129"], ["id", 1]] + Errdo::Error Exists (0.3ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:05.161562"], ["current_sign_in_at", "2018-01-05 23:53:05.161562"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:05.162866"], ["id", 160683007]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 9ms (ActiveRecord: 0.4ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) +  (0.5ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to get the errors index. +--------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error6\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "3ab0789ac76e83736b3c0d81202a6ebda6959d93"], ["created_at", "2018-01-05 23:53:05.182743"], ["updated_at", "2018-01-05 23:53:05.182743"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.186523"], ["updated_at", "2018-01-05 23:53:05.186523"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.186523"], ["updated_at", "2018-01-05 23:53:05.189454"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:05.207150"], ["current_sign_in_at", "2018-01-05 23:53:05.207150"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:05.208260"], ["id", 160683007]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 8ms (ActiveRecord: 0.6ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.5ms) +Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.4ms) begin transaction +---------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to get the errors index. +---------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'e534875b135b10356eef49aca21b28f5c270fedd' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error7\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "e534875b135b10356eef49aca21b28f5c270fedd"], ["created_at", "2018-01-05 23:53:05.227020"], ["updated_at", "2018-01-05 23:53:05.227020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.231454"], ["updated_at", "2018-01-05 23:53:05.231454"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e534875b135b10356eef49aca21b28f5c270fedd' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.231454"], ["updated_at", "2018-01-05 23:53:05.236033"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e534875b135b10356eef49aca21b28f5c270fedd' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:05.250740"], ["current_sign_in_at", "2018-01-05 23:53:05.250740"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:05.252000"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 7ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to get the error show page. +------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4caab3712f918b5423b9eef888ab5618fe3ce89d' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error8\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "4caab3712f918b5423b9eef888ab5618fe3ce89d"], ["created_at", "2018-01-05 23:53:05.268612"], ["updated_at", "2018-01-05 23:53:05.268612"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.271440"], ["updated_at", "2018-01-05 23:53:05.271440"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4caab3712f918b5423b9eef888ab5618fe3ce89d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.271440"], ["updated_at", "2018-01-05 23:53:05.274226"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4caab3712f918b5423b9eef888ab5618fe3ce89d' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:05.287883"], ["current_sign_in_at", "2018-01-05 23:53:05.287883"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:05.288941"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.6ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 3ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------ +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to update the error. +------------------------------------------------------------------------------------------------------ +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error9\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "bd447191a33ec2ede50c7410406fe1130dec012e"], ["created_at", "2018-01-05 23:53:05.307985"], ["updated_at", "2018-01-05 23:53:05.307985"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.313767"], ["updated_at", "2018-01-05 23:53:05.313767"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.313767"], ["updated_at", "2018-01-05 23:53:05.316761"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:05.330881"], ["current_sign_in_at", "2018-01-05 23:53:05.330881"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:05.331707"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 3ms (ActiveRecord: 0.1ms) + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------ +PluginsIntegrationTest: test_: slack integration should correctly send a notification when there is no database stored error. +------------------------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:29:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:39:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:39:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should not send a slack notification when error is hit if webhook is not set. +------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:05.377757"], ["updated_at", "2018-01-05 23:53:05.377757"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.387931"], ["updated_at", "2018-01-05 23:53:05.387931"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.387931"], ["updated_at", "2018-01-05 23:53:05.393643"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should send a slack notification when error is hit. +----------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:05.419378"], ["updated_at", "2018-01-05 23:53:05.419378"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.432272"], ["updated_at", "2018-01-05 23:53:05.432272"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.432272"], ["updated_at", "2018-01-05 23:53:05.436601"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should not fail when the slack ping returns an error. +------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:05.467244"], ["updated_at", "2018-01-05 23:53:05.467244"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.478364"], ["updated_at", "2018-01-05 23:53:05.478364"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.478364"], ["updated_at", "2018-01-05 23:53:05.482689"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Exception from WebMock +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrdoGeneratorTest: test_: ErrdoGenerator should add class name to initializer. +-------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------- +NonWebTest: test_: rake tasks should create not an error when a task fails when not set. +----------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------- +NonWebTest: test_: rake tasks should not create an error when a task fails with an interrupt. +---------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------- +NonWebTest: test_: active jobs should log to errdo when job fails asynchronously. +---------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +[ActiveJob] [FailJob] [53fb49c9-acf2-4685-9a77-ff0df1d5da71] Performing FailJob from Inline(default) +[ActiveJob] [FailJob] [53fb49c9-acf2-4685-9a77-ff0df1d5da71] Performed FailJob from Inline(default) in 0.09ms + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6fd7e35a428d8d0bc287e040f4c6c39d4e765d13"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "AsynchronousFailure"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:10:in `perform'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:32:in `block\n in perform_now'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:498:in\n `block (2 levels) in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:343:in\n `block (2 levels) in simple'\"\n- \"/var/lib/gems/2.3.0/gems/i18n-0.9.1/lib/i18n.rb:265:in `with_locale'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/translation.rb:7:in `block\n (2 levels) in <module:Translation>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `block in make_lambda'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:342:in\n `block in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:497:in\n `block in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:498:in\n `block (2 levels) in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:343:in\n `block (2 levels) in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:23:in `block\n (4 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:22:in `block\n (3 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:43:in `block\n in tag_logger'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:43:in `tag_logger'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:19:in `block\n (2 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `block in make_lambda'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:342:in\n `block in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:497:in\n `block in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_perform_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:31:in `perform_now'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:16:in `perform_now'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:63:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:61:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:73:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:73:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6fd7e35a428d8d0bc287e040f4c6c39d4e765d13"], ["created_at", "2018-01-05 23:53:05.515324"], ["updated_at", "2018-01-05 23:53:05.515324"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.522099"], ["updated_at", "2018-01-05 23:53:05.522099"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.522099"], ["updated_at", "2018-01-05 23:53:05.525273"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------ +NonWebTest: test_: rake tasks should create an error when a task fails. +------------------------------------------------------------------------ +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "5cedfe50e43fb3a9caf1946654f8ecf475a6314f"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "ERRA"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/lib/tasks/test.rake:4:in `block (2 levels)\n in <top (required)>'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'\"\n- \"/home/chronos/repos/errdo/lib/errdo/rake/task.rb:8:in `execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'\"\n- \"/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:33:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:32:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "5cedfe50e43fb3a9caf1946654f8ecf475a6314f"], ["created_at", "2018-01-05 23:53:05.540204"], ["updated_at", "2018-01-05 23:53:05.540204"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.545513"], ["updated_at", "2018-01-05 23:53:05.545513"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.545513"], ["updated_at", "2018-01-05 23:53:05.548951"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should work. +----------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:151:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:162:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:05.569471"], ["updated_at", "2018-01-05 23:53:05.569471"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "utf=%C3%28"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nutf: \"�(\"\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.580701"], ["updated_at", "2018-01-05 23:53:05.580701"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.580701"], ["updated_at", "2018-01-05 23:53:05.586083"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------- +Errdo::ErrorsControllerTest: test_: actions update should change the status. +----------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error10\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "c51a1d495add779a80be7ec126c20a00cff47787"], ["created_at", "2018-01-05 23:53:05.604067"], ["updated_at", "2018-01-05 23:53:05.604067"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.606399"], ["updated_at", "2018-01-05 23:53:05.606399"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.606399"], ["updated_at", "2018-01-05 23:53:05.608522"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "status" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["status", 1], ["updated_at", "2018-01-05 23:53:05.619317"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:05.648492') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:05.648492') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (32.3ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (2.5ms) +Completed 200 OK in 42ms (Views: 36.2ms | ActiveRecord: 1.5ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------- +InstallGeneratorTest: test_: InstallGenerator should assert initializer is properly created. +--------------------------------------------------------------------------------------------- +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should make sure that migrations are produced. +------------------------------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should revoke correctly. +--------------------------------------------------------------------------------- +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should throw error if table name already exists. +--------------------------------------------------------------------------------------------------------- +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------ +ErrorTest: test_: model validations should force backtrace_hash to be unique. +------------------------------------------------------------------------------ +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error11\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "8b92339d3cc40d3160e23156dcdcab73e341c03a"], ["created_at", "2018-01-05 23:53:05.675184"], ["updated_at", "2018-01-05 23:53:05.675184"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error12\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9"], ["created_at", "2018-01-05 23:53:05.678919"], ["updated_at", "2018-01-05 23:53:05.678919"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' AND "errors"."id" != 2) LIMIT 1 +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------- +ErrorTest: test_: methods should compute correct users affected. +----------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error13\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "e42954bc570b41408c0b52621c5a879071f1e809"], ["created_at", "2018-01-05 23:53:05.684646"], ["updated_at", "2018-01-05 23:53:05.684646"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.688203"], ["updated_at", "2018-01-05 23:53:05.688203"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.688203"], ["updated_at", "2018-01-05 23:53:05.691750"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:53:05.695943"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.700763"], ["updated_at", "2018-01-05 23:53:05.700763"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:53:05.700763"], ["updated_at", "2018-01-05 23:53:05.703000"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:53:05.705101"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.709736"], ["updated_at", "2018-01-05 23:53:05.709736"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:53:05.709736"], ["updated_at", "2018-01-05 23:53:05.712032"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------- +ErrorTest: test_: model attributes should have right fields. +------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error14\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "aadcd38795aade729c342eb06b447741a5a6e5a8"], ["created_at", "2018-01-05 23:53:05.719093"], ["updated_at", "2018-01-05 23:53:05.719093"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------- +ErrorTest: test_: methods should get newest occurrence. +-------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error15\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "8d1082c98128ced486c09c3c048c7e18be807274"], ["created_at", "2018-01-05 23:53:05.723790"], ["updated_at", "2018-01-05 23:53:05.723790"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.729514"], ["updated_at", "2018-01-05 23:53:05.729514"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.729514"], ["updated_at", "2018-01-05 23:53:05.731815"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:53:05.734332"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "created_at", "error_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["created_at", "2017-12-29 23:53:05.735900"], ["error_id", 1], ["updated_at", "2018-01-05 23:53:05.737096"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2017-12-29 23:53:05.735900"], ["updated_at", "2018-01-05 23:53:05.739404"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.744653"], ["updated_at", "2018-01-05 23:53:05.744653"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:53:05.744653"], ["updated_at", "2018-01-05 23:53:05.746847"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:53:05.749061"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------- +ErrorTest: test_: model attributes should default status to active. +-------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error16\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "d77d1e06472f511277a6c747c1c110b786c2f00d"], ["created_at", "2018-01-05 23:53:05.753841"], ["updated_at", "2018-01-05 23:53:05.753841"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------ +ErrorTest: test_: model linkages should set the last experiencer to the last occurrence's user. +------------------------------------------------------------------------------------------------ +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error17\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "c8abae6977ce6970a9e2b557caed6ccd935444ec"], ["created_at", "2018-01-05 23:53:05.758730"], ["updated_at", "2018-01-05 23:53:05.758730"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.763626"], ["updated_at", "2018-01-05 23:53:05.763626"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.763626"], ["updated_at", "2018-01-05 23:53:05.765884"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:53:05.768046"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.771247"], ["updated_at", "2018-01-05 23:53:05.771247"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:53:05.771247"], ["updated_at", "2018-01-05 23:53:05.773669"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:53:05.776796"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------- +ErrorTest: test_: model linkages should have correct relations. +---------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error18\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "0730249282830e3120920443da0f5e3e1ef130f1"], ["created_at", "2018-01-05 23:53:05.782793"], ["updated_at", "2018-01-05 23:53:05.782793"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------- +ErrorTest: test_: methods should get oldest occurrence. +-------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error19\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "57de8250b370c9cdc58579cfeb97e2bc9ec63089"], ["created_at", "2018-01-05 23:53:05.788290"], ["updated_at", "2018-01-05 23:53:05.788290"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.793126"], ["updated_at", "2018-01-05 23:53:05.793126"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.793126"], ["updated_at", "2018-01-05 23:53:05.796376"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:53:05.798825"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "created_at", "error_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["created_at", "2017-12-29 23:53:05.800204"], ["error_id", 1], ["updated_at", "2018-01-05 23:53:05.801347"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2017-12-29 23:53:05.800204"], ["updated_at", "2018-01-05 23:53:05.803681"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.808958"], ["updated_at", "2018-01-05 23:53:05.808958"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:53:05.808958"], ["updated_at", "2018-01-05 23:53:05.811784"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:53:05.814141"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------- +ErrorTest: test_: model linkages should have counter cache for occurrences. +---------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error20\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:04.238378"], ["backtrace_hash", "0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525"], ["created_at", "2018-01-05 23:53:05.819437"], ["updated_at", "2018-01-05 23:53:05.819437"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:05.823542"], ["updated_at", "2018-01-05 23:53:05.823542"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.823542"], ["updated_at", "2018-01-05 23:53:05.827455"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific index selected. +--------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:05.843467"], ["updated_at", "2018-01-05 23:53:05.843467"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.855148"], ["updated_at", "2018-01-05 23:53:05.855148"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.855148"], ["updated_at", "2018-01-05 23:53:05.861044"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1?occurrence_index=0" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_index"=>"0", "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:05.887884') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:05.887884') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (9.0ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.7ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------ +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific instance selected. +------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:05.904848"], ["updated_at", "2018-01-05 23:53:05.904848"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.916764"], ["updated_at", "2018-01-05 23:53:05.916764"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.916764"], ["updated_at", "2018-01-05 23:53:05.921021"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1?occurrence_id=1" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_id"=>"1", "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:05.951561') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:05.951561') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (9.0ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.2ms) +Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.7ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to successfully get the error's page. +---------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:05 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:05.969016"], ["updated_at", "2018-01-05 23:53:05.969016"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:05.980676"], ["updated_at", "2018-01-05 23:53:05.980676"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:05.980676"], ["updated_at", "2018-01-05 23:53:05.985540"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:06 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:06.013387') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:06.013387') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (9.0ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.2ms) +Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.7ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to successfully get the index. +--------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:06 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:06.030088"], ["updated_at", "2018-01-05 23:53:06.030088"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:06.041223"], ["updated_at", "2018-01-05 23:53:06.041223"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:06.041223"], ["updated_at", "2018-01-05 23:53:06.046801"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:06 -0500 +Processing by Errdo::ErrorsController#index as HTML + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:53:06.068901') + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:53:06.070516') + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (2.2ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms) +Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.4ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------- +ViewsIntegrationTest: test_: views should strip off asset hash. +---------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:06 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:06.091130"], ["updated_at", "2018-01-05 23:53:06.091130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:06.102662"], ["updated_at", "2018-01-05 23:53:06.102662"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:06.102662"], ["updated_at", "2018-01-05 23:53:06.107244"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/static/view_error" for 127.0.0.1 at 2018-01-05 18:53:06 -0500 +Processing by StaticController#view_error as HTML + Rendered static/view_error.html.erb within layouts/application (52.0ms) +Completed 401 Unauthorized in 53ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined local variable or method `error' for #<#<Class:0x00000004967b30>:0x0000000cbd33d0> +Did you mean? errdo): + 1: <%= error %> + app/views/static/view_error.html.erb:1:in `_app_views_static_view_error_html_erb___3321332713161476903_106860400' + actionview (4.2.10) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.10) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.10) lib/action_view/template.rb:143:in `render' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.10) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.10) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.10) lib/action_view/renderer/renderer.rb:46:in `render_template' + actionview (4.2.10) lib/action_view/renderer/renderer.rb:27:in `render' + actionview (4.2.10) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.10) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.10) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.10) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.10) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block (2 levels) in <class:ViewsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "ActionView::Template::Error"], ["exception_message", "undefined local variable or method `error' for #<#<Class:0x00000004967b30>:0x0000000cbd33d0>\nDid you mean? errdo"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/view_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/views/static/view_error.html.erb:1:in\n `_app_views_static_view_error_html_erb'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:145:in `block\n in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:333:in `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:143:in `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:54:in\n `block (2 levels) in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/abstract_renderer.rb:39:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/abstract_renderer.rb:39:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:53:in\n `block in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:61:in\n `render_with_layout'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:52:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:14:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/renderer.rb:46:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/renderer.rb:27:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:100:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/streaming.rb:217:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:83:in `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/renderers.rb:37:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/rendering.rb:25:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:16:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:10:in\n `default_render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527"], ["created_at", "2018-01-05 23:53:06.189228"], ["updated_at", "2018-01-05 23:53:06.189228"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: view_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 2], ["created_at", "2018-01-05 23:53:06.202345"], ["updated_at", "2018-01-05 23:53:06.202345"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' AND "errors"."id" != 2) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:06.202345"], ["updated_at", "2018-01-05 23:53:06.207577"], ["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' AND "errors"."id" != 2) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 2]] + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user@example.com', '$2a$04$dc6NQFZx4a1K5WNKLdtvLee6t8UWNEIYZJOdX3rObPfXtPDuIeayi', '2018-01-05 23:53:17', '2018-01-05 23:53:17', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$X8zb0aC.ZnsUUPF3CcjOTOTktnxgV4xp2CKWpX.cKlhw3Km295xqW', '2018-01-05 23:53:17', '2018-01-05 23:53:17', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$PGemIEUVc4D9fOZf.tTTDe7MJx27TB4lTwtzJmmjgbDRnOTKFvazK', 1, '2018-01-05 23:53:17', '2018-01-05 23:53:17', 160683007) +  (4.9ms) commit transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------- +ErrorTest: test_: model attributes should default status to active. +-------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c6774fe2a301bd770286cdb7764abc2698878b68' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error1\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "c6774fe2a301bd770286cdb7764abc2698878b68"], ["created_at", "2018-01-05 23:53:17.867981"], ["updated_at", "2018-01-05 23:53:17.867981"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------- +ErrorTest: test_: methods should get oldest occurrence. +-------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error2\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "177ea0ad92f01de4faaa5ca73e8e620092af76d1"], ["created_at", "2018-01-05 23:53:17.873107"], ["updated_at", "2018-01-05 23:53:17.873107"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:17.906202"], ["updated_at", "2018-01-05 23:53:17.906202"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:17.906202"], ["updated_at", "2018-01-05 23:53:17.910048"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:53:17.913751"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "created_at", "error_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["created_at", "2017-12-29 23:53:17.915870"], ["error_id", 1], ["updated_at", "2018-01-05 23:53:17.917443"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2017-12-29 23:53:17.915870"], ["updated_at", "2018-01-05 23:53:17.920886"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 +  (0.3ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:17.927071"], ["updated_at", "2018-01-05 23:53:17.927071"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:53:17.927071"], ["updated_at", "2018-01-05 23:53:17.930243"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '177ea0ad92f01de4faaa5ca73e8e620092af76d1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:53:17.933543"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------- +ErrorTest: test_: model linkages should have counter cache for occurrences. +---------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error3\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "4856910b699c55151aa2deec55cb1b935bff0da7"], ["created_at", "2018-01-05 23:53:17.940486"], ["updated_at", "2018-01-05 23:53:17.940486"]] +  (0.4ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:17.945203"], ["updated_at", "2018-01-05 23:53:17.945203"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:17.945203"], ["updated_at", "2018-01-05 23:53:17.948796"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4856910b699c55151aa2deec55cb1b935bff0da7' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------- +ErrorTest: test_: methods should get newest occurrence. +-------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error4\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "58725a22b76efac22d1497f85441af197fb13401"], ["created_at", "2018-01-05 23:53:17.958716"], ["updated_at", "2018-01-05 23:53:17.958716"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:17.963734"], ["updated_at", "2018-01-05 23:53:17.963734"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:17.963734"], ["updated_at", "2018-01-05 23:53:17.967163"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:53:17.972426"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "created_at", "error_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["created_at", "2017-12-29 23:53:17.974816"], ["error_id", 1], ["updated_at", "2018-01-05 23:53:17.976489"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2017-12-29 23:53:17.974816"], ["updated_at", "2018-01-05 23:53:17.979492"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:17.985203"], ["updated_at", "2018-01-05 23:53:17.985203"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:53:17.985203"], ["updated_at", "2018-01-05 23:53:17.988946"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '58725a22b76efac22d1497f85441af197fb13401' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:53:17.991856"], ["id", 1]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------ +ErrorTest: test_: model linkages should set the last experiencer to the last occurrence's user. +------------------------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error5\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "163e8aa7d37dfe3f9f2527382cbdb14a32920e75"], ["created_at", "2018-01-05 23:53:18.004387"], ["updated_at", "2018-01-05 23:53:18.004387"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:18.007691"], ["updated_at", "2018-01-05 23:53:18.007691"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.007691"], ["updated_at", "2018-01-05 23:53:18.009923"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:53:18.012484"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:18.015550"], ["updated_at", "2018-01-05 23:53:18.015550"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:53:18.015550"], ["updated_at", "2018-01-05 23:53:18.017690"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '163e8aa7d37dfe3f9f2527382cbdb14a32920e75' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:53:18.020641"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."id" = ? LIMIT 1 [["id", 2]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------- +ErrorTest: test_: methods should compute correct users affected. +----------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error6\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "3ab0789ac76e83736b3c0d81202a6ebda6959d93"], ["created_at", "2018-01-05 23:53:18.028020"], ["updated_at", "2018-01-05 23:53:18.028020"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 227792459], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:18.031982"], ["updated_at", "2018-01-05 23:53:18.031982"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.031982"], ["updated_at", "2018-01-05 23:53:18.034870"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "last_experiencer_type" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["updated_at", "2018-01-05 23:53:18.038691"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:18.043360"], ["updated_at", "2018-01-05 23:53:18.043360"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:53:18.043360"], ["updated_at", "2018-01-05 23:53:18.045893"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2018-01-05 23:53:18.048030"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 1], ["created_at", "2018-01-05 23:53:18.052089"], ["updated_at", "2018-01-05 23:53:18.052089"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:53:18.052089"], ["updated_at", "2018-01-05 23:53:18.054618"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '3ab0789ac76e83736b3c0d81202a6ebda6959d93' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------- +ErrorTest: test_: model linkages should have correct relations. +---------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'e534875b135b10356eef49aca21b28f5c270fedd' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error7\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "e534875b135b10356eef49aca21b28f5c270fedd"], ["created_at", "2018-01-05 23:53:18.061385"], ["updated_at", "2018-01-05 23:53:18.061385"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------- +ErrorTest: test_: model attributes should have right fields. +------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4caab3712f918b5423b9eef888ab5618fe3ce89d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error8\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "4caab3712f918b5423b9eef888ab5618fe3ce89d"], ["created_at", "2018-01-05 23:53:18.066277"], ["updated_at", "2018-01-05 23:53:18.066277"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------ +ErrorTest: test_: model validations should force backtrace_hash to be unique. +------------------------------------------------------------------------------ +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error9\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "bd447191a33ec2ede50c7410406fe1130dec012e"], ["created_at", "2018-01-05 23:53:18.071652"], ["updated_at", "2018-01-05 23:53:18.071652"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c51a1d495add779a80be7ec126c20a00cff47787' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error10\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "c51a1d495add779a80be7ec126c20a00cff47787"], ["created_at", "2018-01-05 23:53:18.074842"], ["updated_at", "2018-01-05 23:53:18.074842"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'bd447191a33ec2ede50c7410406fe1130dec012e' AND "errors"."id" != 2) LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.error. +---------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:20:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:18:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"], ["created_at", "2018-01-05 23:53:18.089270"], ["updated_at", "2018-01-05 23:53:18.089270"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.093262"], ["updated_at", "2018-01-05 23:53:18.093262"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.093262"], ["updated_at", "2018-01-05 23:53:18.096361"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error, but should not send notification with Errdo.log. +-------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:51:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:50:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:62:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "info"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:53:18.112839"], ["updated_at", "2018-01-05 23:53:18.112839"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.117020"], ["updated_at", "2018-01-05 23:53:18.117020"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.117020"], ["updated_at", "2018-01-05 23:53:18.120151"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.error even when nothing is set. +----------------------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:30:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:29:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:41:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:53:18.130008"], ["updated_at", "2018-01-05 23:53:18.130008"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.134785"], ["updated_at", "2018-01-05 23:53:18.134785"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.134785"], ["updated_at", "2018-01-05 23:53:18.138982"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error with no exception and set params. +---------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "0cb232d4e942cb440ecc02ee10363093c70c8950"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "last_experiencer_id", "last_experiencer_type", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:75:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:87:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["backtrace_hash", "0cb232d4e942cb440ecc02ee10363093c70c8950"], ["created_at", "2018-01-05 23:53:18.153040"], ["updated_at", "2018-01-05 23:53:18.153040"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["experiencer_id", 160683007], ["experiencer_type", "User"], ["param_values", "---\n:user: !ruby/object:User\n raw_attributes:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$PGemIEUVc4D9fOZf.tTTDe7MJx27TB4lTwtzJmmjgbDRnOTKFvazK\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:53:17'\n updated_at: '2018-01-05 23:53:17'\n attributes: !ruby/object:ActiveRecord::AttributeSet\n attributes: !ruby/object:ActiveRecord::LazyAttributeHash\n types:\n id: &4 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n email: &1 !ruby/object:ActiveRecord::Type::String\n precision: \n scale: \n limit: 255\n encrypted_password: *1\n reset_password_token: *1\n reset_password_sent_at: &5 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: &2 !ruby/object:ActiveRecord::Type::DateTime\n precision: \n scale: \n limit: \n remember_created_at: &6 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n sign_in_count: &3 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n current_sign_in_at: &7 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n last_sign_in_at: &8 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n current_sign_in_ip: *1\n last_sign_in_ip: *1\n permission_class: *3\n created_at: &9 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n updated_at: &10 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n values:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$PGemIEUVc4D9fOZf.tTTDe7MJx27TB4lTwtzJmmjgbDRnOTKFvazK\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:53:17'\n updated_at: '2018-01-05 23:53:17'\n additional_types: {}\n materialized: true\n delegate_hash:\n id: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: id\n value_before_type_cast: 160683007\n type: *4\n value: 160683007\n email: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: email\n value_before_type_cast: loser@example.com\n type: *1\n encrypted_password: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: encrypted_password\n value_before_type_cast: \"$2a$04$PGemIEUVc4D9fOZf.tTTDe7MJx27TB4lTwtzJmmjgbDRnOTKFvazK\"\n type: *1\n reset_password_token: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_token\n value_before_type_cast: \n type: *1\n reset_password_sent_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_sent_at\n value_before_type_cast: \n type: *5\n remember_created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: remember_created_at\n value_before_type_cast: \n type: *6\n sign_in_count: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: sign_in_count\n value_before_type_cast: 0\n type: *3\n current_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_at\n value_before_type_cast: \n type: *7\n last_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_at\n value_before_type_cast: \n type: *8\n current_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_ip\n value_before_type_cast: \n type: *1\n last_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_ip\n value_before_type_cast: \n type: *1\n permission_class: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: permission_class\n value_before_type_cast: 1\n type: *3\n created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: created_at\n value_before_type_cast: '2018-01-05 23:53:17'\n type: *9\n updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: updated_at\n value_before_type_cast: '2018-01-05 23:53:17'\n type: *10\n new_record: false\n active_record_yaml_version: 0\n:data: Here's some data\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:18.174390"], ["updated_at", "2018-01-05 23:53:18.174390"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.174390"], ["updated_at", "2018-01-05 23:53:18.182288"], ["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0cb232d4e942cb440ecc02ee10363093c70c8950' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and send notification with Errdo.warn. +--------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:37:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:36:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:48:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "warning"], ["backtrace_hash", "6eef6648406c333a4035cd5e60d0bf2ecf2606d7"], ["created_at", "2018-01-05 23:53:18.203523"], ["updated_at", "2018-01-05 23:53:18.203523"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.207528"], ["updated_at", "2018-01-05 23:53:18.207528"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.207528"], ["updated_at", "2018-01-05 23:53:18.210044"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6eef6648406c333a4035cd5e60d0bf2ecf2606d7' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error and scrub the params. +---------------------------------------------------------------------------------------------------- + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "cee8810db22966c8023ed850bd959c1e06409fbc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "importance", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "None"], ["exception_message", "Cool beans2"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:82:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:94:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["importance", "info"], ["backtrace_hash", "cee8810db22966c8023ed850bd959c1e06409fbc"], ["created_at", "2018-01-05 23:53:18.223904"], ["updated_at", "2018-01-05 23:53:18.223904"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.3ms) INSERT INTO "error_occurrences" ("param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["param_values", "---\n:password: \"...\"\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:18.228921"], ["updated_at", "2018-01-05 23:53:18.228921"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.228921"], ["updated_at", "2018-01-05 23:53:18.232446"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'cee8810db22966c8023ed850bd959c1e06409fbc' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should create an error with the correct params. +------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "last_experiencer_id", "last_experiencer_type", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "Cool beans"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:59:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/models/errdo_test.rb:69:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["backtrace_hash", "4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc"], ["created_at", "2018-01-05 23:53:18.243881"], ["updated_at", "2018-01-05 23:53:18.243881"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "param_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["experiencer_id", 160683007], ["experiencer_type", "User"], ["param_values", "---\n:user: !ruby/object:User\n raw_attributes:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$PGemIEUVc4D9fOZf.tTTDe7MJx27TB4lTwtzJmmjgbDRnOTKFvazK\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:53:17'\n updated_at: '2018-01-05 23:53:17'\n attributes: !ruby/object:ActiveRecord::AttributeSet\n attributes: !ruby/object:ActiveRecord::LazyAttributeHash\n types:\n id: &4 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n email: &1 !ruby/object:ActiveRecord::Type::String\n precision: \n scale: \n limit: 255\n encrypted_password: *1\n reset_password_token: *1\n reset_password_sent_at: &5 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: &2 !ruby/object:ActiveRecord::Type::DateTime\n precision: \n scale: \n limit: \n remember_created_at: &6 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n sign_in_count: &3 !ruby/object:ActiveRecord::Type::Integer\n precision: \n scale: \n limit: \n range: !ruby/range\n begin: -2147483648\n end: 2147483648\n excl: true\n current_sign_in_at: &7 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n last_sign_in_at: &8 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n current_sign_in_ip: *1\n last_sign_in_ip: *1\n permission_class: *3\n created_at: &9 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n updated_at: &10 !ruby/object:ActiveRecord::AttributeMethods::TimeZoneConversion::TimeZoneConverter\n subtype: *2\n values:\n id: 160683007\n email: loser@example.com\n encrypted_password: \"$2a$04$PGemIEUVc4D9fOZf.tTTDe7MJx27TB4lTwtzJmmjgbDRnOTKFvazK\"\n reset_password_token: \n reset_password_sent_at: \n remember_created_at: \n sign_in_count: 0\n current_sign_in_at: \n last_sign_in_at: \n current_sign_in_ip: \n last_sign_in_ip: \n permission_class: 1\n created_at: '2018-01-05 23:53:17'\n updated_at: '2018-01-05 23:53:17'\n additional_types: {}\n materialized: true\n delegate_hash:\n id: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: id\n value_before_type_cast: 160683007\n type: *4\n value: 160683007\n email: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: email\n value_before_type_cast: loser@example.com\n type: *1\n encrypted_password: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: encrypted_password\n value_before_type_cast: \"$2a$04$PGemIEUVc4D9fOZf.tTTDe7MJx27TB4lTwtzJmmjgbDRnOTKFvazK\"\n type: *1\n reset_password_token: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_token\n value_before_type_cast: \n type: *1\n reset_password_sent_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: reset_password_sent_at\n value_before_type_cast: \n type: *5\n remember_created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: remember_created_at\n value_before_type_cast: \n type: *6\n sign_in_count: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: sign_in_count\n value_before_type_cast: 0\n type: *3\n current_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_at\n value_before_type_cast: \n type: *7\n last_sign_in_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_at\n value_before_type_cast: \n type: *8\n current_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: current_sign_in_ip\n value_before_type_cast: \n type: *1\n last_sign_in_ip: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: last_sign_in_ip\n value_before_type_cast: \n type: *1\n permission_class: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: permission_class\n value_before_type_cast: 1\n type: *3\n created_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: created_at\n value_before_type_cast: '2018-01-05 23:53:17'\n type: *9\n updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: updated_at\n value_before_type_cast: '2018-01-05 23:53:17'\n type: *10\n new_record: false\n active_record_yaml_version: 0\n:data: Here's some data\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:18.263043"], ["updated_at", "2018-01-05 23:53:18.263043"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.263043"], ["updated_at", "2018-01-05 23:53:18.272826"], ["id", 1]] + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4f1fe7f1e7c8bf09fa4a76a36714f5f29a150adc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should not create an error, but should send notification with Errdo.notify. +----------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan allowed user should be able to get the errors index. +---------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error11\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "8b92339d3cc40d3160e23156dcdcab73e341c03a"], ["created_at", "2018-01-05 23:53:18.298878"], ["updated_at", "2018-01-05 23:53:18.298878"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.302521"], ["updated_at", "2018-01-05 23:53:18.302521"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.302521"], ["updated_at", "2018-01-05 23:53:18.305347"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8b92339d3cc40d3160e23156dcdcab73e341c03a' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:18.344589"], ["current_sign_in_at", "2018-01-05 23:53:18.344589"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:18.345455"], ["id", 227792459]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 24ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.9ms) +Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 227792459]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:53:18.406844') + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:53:18.408488') + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (19.5ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (8.3ms) +Completed 200 OK in 301ms (Views: 295.0ms | ActiveRecord: 0.6ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to get the error show page. +------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error12\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9"], ["created_at", "2018-01-05 23:53:18.709580"], ["updated_at", "2018-01-05 23:53:18.709580"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.712945"], ["updated_at", "2018-01-05 23:53:18.712945"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.712945"], ["updated_at", "2018-01-05 23:53:18.716804"], ["id", 1]] + Errdo::Error Exists (0.4ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ad85ffa0aeb1a6157ac0f741b89cd48b24991e9' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:18.732553"], ["current_sign_in_at", "2018-01-05 23:53:18.732553"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:18.733804"], ["id", 160683007]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 11ms (ActiveRecord: 0.4ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.6ms) +Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 3ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to get the errors index. +---------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error13\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "e42954bc570b41408c0b52621c5a879071f1e809"], ["created_at", "2018-01-05 23:53:18.761986"], ["updated_at", "2018-01-05 23:53:18.761986"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.774676"], ["updated_at", "2018-01-05 23:53:18.774676"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.774676"], ["updated_at", "2018-01-05 23:53:18.777456"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'e42954bc570b41408c0b52621c5a879071f1e809' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:18.792292"], ["current_sign_in_at", "2018-01-05 23:53:18.792292"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:18.793352"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.2ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------ +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to get the error show page. +------------------------------------------------------------------------------------------------------------------------------ +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error14\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "aadcd38795aade729c342eb06b447741a5a6e5a8"], ["created_at", "2018-01-05 23:53:18.810919"], ["updated_at", "2018-01-05 23:53:18.810919"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.813889"], ["updated_at", "2018-01-05 23:53:18.813889"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.813889"], ["updated_at", "2018-01-05 23:53:18.816402"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'aadcd38795aade729c342eb06b447741a5a6e5a8' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:18.830769"], ["current_sign_in_at", "2018-01-05 23:53:18.830769"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:18.831809"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 7ms (ActiveRecord: 0.2ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to update the error. +----------------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error15\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "8d1082c98128ced486c09c3c048c7e18be807274"], ["created_at", "2018-01-05 23:53:18.848251"], ["updated_at", "2018-01-05 23:53:18.848251"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.852095"], ["updated_at", "2018-01-05 23:53:18.852095"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.852095"], ["updated_at", "2018-01-05 23:53:18.856523"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '8d1082c98128ced486c09c3c048c7e18be807274' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:18.872556"], ["current_sign_in_at", "2018-01-05 23:53:18.872556"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:18.873881"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 8ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 3ms (ActiveRecord: 0.1ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block unallowed user should not be able to get the errors index. +--------------------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error16\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "d77d1e06472f511277a6c747c1c110b786c2f00d"], ["created_at", "2018-01-05 23:53:18.891198"], ["updated_at", "2018-01-05 23:53:18.891198"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.898535"], ["updated_at", "2018-01-05 23:53:18.898535"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.898535"], ["updated_at", "2018-01-05 23:53:18.901031"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'd77d1e06472f511277a6c747c1c110b786c2f00d' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:18.914305"], ["current_sign_in_at", "2018-01-05 23:53:18.914305"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:18.915065"], ["id", 160683007]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.2ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Filter chain halted as :_authorize! rendered or redirected +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block allowed user should be able to get the errors index. +--------------------------------------------------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error17\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "c8abae6977ce6970a9e2b557caed6ccd935444ec"], ["created_at", "2018-01-05 23:53:18.928770"], ["updated_at", "2018-01-05 23:53:18.928770"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.931188"], ["updated_at", "2018-01-05 23:53:18.931188"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.931188"], ["updated_at", "2018-01-05 23:53:18.934657"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'c8abae6977ce6970a9e2b557caed6ccd935444ec' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:18.947969"], ["current_sign_in_at", "2018-01-05 23:53:18.947969"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:18.948742"], ["id", 227792459]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 7ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Errdo::ErrorsController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 227792459]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:53:18.959627') + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:53:18.961065') + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (2.2ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.2ms) +Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.4ms) +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------------ +AuthorizationIntegrationTest: test_: cancancan unallowed user should not be able to update the error. +------------------------------------------------------------------------------------------------------ +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error18\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "0730249282830e3120920443da0f5e3e1ef130f1"], ["created_at", "2018-01-05 23:53:18.970236"], ["updated_at", "2018-01-05 23:53:18.970236"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:18.972679"], ["updated_at", "2018-01-05 23:53:18.972679"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:18.972679"], ["updated_at", "2018-01-05 23:53:18.974932"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0730249282830e3120920443da0f5e3e1ef130f1' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 160683007]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"loser@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "loser@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:18.986871"], ["current_sign_in_at", "2018-01-05 23:53:18.986871"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:18.987674"], ["id", 160683007]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 5ms (ActiveRecord: 0.2ms) +Started GET "/" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb within layouts/application (0.1ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:18 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 160683007]] +Redirected to http://www.example.com/errdo/ +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------- +InstallGeneratorTest: test_: InstallGenerator should assert initializer is properly created. +--------------------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------- +Errdo::ErrorsControllerTest: test_: actions update should change the status. +----------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error19\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "57de8250b370c9cdc58579cfeb97e2bc9ec63089"], ["created_at", "2018-01-05 23:53:19.007085"], ["updated_at", "2018-01-05 23:53:19.007085"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:19.009784"], ["updated_at", "2018-01-05 23:53:19.009784"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.009784"], ["updated_at", "2018-01-05 23:53:19.012121"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '57de8250b370c9cdc58579cfeb97e2bc9ec63089' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "status" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["status", 1], ["updated_at", "2018-01-05 23:53:19.021444"], ["id", 1]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:19.050511') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:19.050511') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (32.3ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (2.5ms) +Completed 200 OK in 42ms (Views: 36.3ms | ActiveRecord: 1.2ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------ +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific instance selected. +------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.075273"], ["updated_at", "2018-01-05 23:53:19.075273"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.086612"], ["updated_at", "2018-01-05 23:53:19.086612"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.086612"], ["updated_at", "2018-01-05 23:53:19.091400"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1?occurrence_id=1" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_id"=>"1", "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:19.120573') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:19.120573') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (9.0ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.7ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to successfully get the index. +--------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:24:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.137490"], ["updated_at", "2018-01-05 23:53:19.137490"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.4ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.148052"], ["updated_at", "2018-01-05 23:53:19.148052"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.148052"], ["updated_at", "2018-01-05 23:53:19.153834"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/errdo/" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by Errdo::ErrorsController#index as HTML + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE (created_at > '2017-12-22 23:53:19.175512') + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE (created_at > '2017-12-22 23:53:19.177025') + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."status" = ? ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 [["status", 0]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/errdo_layout (2.1ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.3ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to get an error's page with a specific index selected. +--------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:39:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.195317"], ["updated_at", "2018-01-05 23:53:19.195317"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.207126"], ["updated_at", "2018-01-05 23:53:19.207126"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.207126"], ["updated_at", "2018-01-05 23:53:19.211416"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1?occurrence_index=0" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_index"=>"0", "id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:19.240522') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:19.240522') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (9.0ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.2ms) +Completed 200 OK in 14ms (Views: 10.4ms | ActiveRecord: 0.8ms) +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------- +ViewsIntegrationTest: test_: views should be able to successfully get the error's page. +---------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:29:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.258916"], ["updated_at", "2018-01-05 23:53:19.258916"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.271168"], ["updated_at", "2018-01-05 23:53:19.271168"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.271168"], ["updated_at", "2018-01-05 23:53:19.275481"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/errdo/errors/1" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"1"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? GROUP BY "error_occurrences"."experiencer_id", "error_occurrences"."experiencer_type" [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" DESC LIMIT 1 [["error_id", 1]] + CACHE (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."created_at" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:19.302182') ORDER BY "error_occurrences"."id" ASC LIMIT 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? AND (created_at > '2017-12-22 23:53:19.302182') [["error_id", 1]] + Rendered /home/chronos/repos/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/errdo_layout (9.3ms) + Rendered /home/chronos/repos/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 0.7ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------- +ViewsIntegrationTest: test_: views should strip off asset hash. +---------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `instance_exec' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:438:in `block in run_current_setup_blocks' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `each' + shoulda-context (1.2.2) lib/shoulda/context/context.rb:436:in `run_current_setup_blocks' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:438:in\n `block in run_current_setup_blocks'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:436:in\n `run_current_setup_blocks'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:44:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.318539"], ["updated_at", "2018-01-05 23:53:19.318539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.328946"], ["updated_at", "2018-01-05 23:53:19.328946"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.328946"], ["updated_at", "2018-01-05 23:53:19.334271"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/static/view_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#view_error as HTML + Rendered static/view_error.html.erb within layouts/application (54.6ms) +Completed 401 Unauthorized in 55ms (ActiveRecord: 0.0ms) + +ActionView::Template::Error (undefined local variable or method `error' for #<#<Class:0x000000086a3440>:0x000000085ac0a0> +Did you mean? errdo): + 1: <%= error %> + app/views/static/view_error.html.erb:1:in `_app_views_static_view_error_html_erb__894754641774551478_77149560' + actionview (4.2.10) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.10) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.10) lib/action_view/template.rb:143:in `render' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.10) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.10) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.10) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.10) lib/action_view/renderer/renderer.rb:46:in `render_template' + actionview (4.2.10) lib/action_view/renderer/renderer.rb:27:in `render' + actionview (4.2.10) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.10) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.10) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.10) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.10) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block (2 levels) in <class:ViewsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "ActionView::Template::Error"], ["exception_message", "undefined local variable or method `error' for #<#<Class:0x000000086a3440>:0x000000085ac0a0>\nDid you mean? errdo"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/view_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/views/static/view_error.html.erb:1:in\n `_app_views_static_view_error_html_erb'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:145:in `block\n in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:333:in `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/template.rb:143:in `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:54:in\n `block (2 levels) in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/abstract_renderer.rb:39:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/abstract_renderer.rb:39:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:53:in\n `block in render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:61:in\n `render_with_layout'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:52:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/template_renderer.rb:14:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/renderer.rb:46:in\n `render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/renderer/renderer.rb:27:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:100:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/streaming.rb:217:in\n `_render_template'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:83:in `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:32:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/renderers.rb:37:in\n `render_to_body'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/rendering.rb:25:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:16:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:10:in\n `default_render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:34:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/views_integration_test.rb:46:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527"], ["created_at", "2018-01-05 23:53:19.418133"], ["updated_at", "2018-01-05 23:53:19.418133"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: view_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 2], ["created_at", "2018-01-05 23:53:19.431443"], ["updated_at", "2018-01-05 23:53:19.431443"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' AND "errors"."id" != 2) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.431443"], ["updated_at", "2018-01-05 23:53:19.436593"], ["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '4e4cbf8fcf2507cdc7743cadc7ded3a7f7308527' AND "errors"."id" != 2) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 2]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should correctly respond to changing the user_show_page. +-------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_path should default to nil when nothing set. +--------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.0ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should correctly respond to changing the user_string_method. +-------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should default to email. +-------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should revoke correctly. +--------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should make sure that migrations are produced. +------------------------------------------------------------------------------------------------------- +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should throw error if table name already exists. +--------------------------------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should only store an error occurrence if same error already exists. +-------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.490875"], ["updated_at", "2018-01-05 23:53:19.490875"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.504302"], ["updated_at", "2018-01-05 23:53:19.504302"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.504302"], ["updated_at", "2018-01-05 23:53:19.508886"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:77:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:76:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.531660"], ["updated_at", "2018-01-05 23:53:19.531660"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:53:19.531660"], ["updated_at", "2018-01-05 23:53:19.536906"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:79:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:87:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.558334"], ["updated_at", "2018-01-05 23:53:19.558334"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2018-01-05 23:53:19.558334"], ["updated_at", "2018-01-05 23:53:19.564614"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not make an error if log404 is not set and 404 is hit. +-------------------------------------------------------------------------------------------------------------------------- +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:114:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:113:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:124:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:124:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not store a configurable dirty param in the params. +----------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error?dirtyyyyy=stuff" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"dirtyyyyy"=>"stuff"} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:69:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?dirtyyyyy=stuff"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:69:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:80:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.596572"], ["updated_at", "2018-01-05 23:53:19.596572"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "dirtyyyyy=stuff"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ndirtyyyyy: \"...\"\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.607875"], ["updated_at", "2018-01-05 23:53:19.607875"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.607875"], ["updated_at", "2018-01-05 23:53:19.613115"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not combine two similar but different errors. +----------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/deep_error?code=asdf" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#deep_error as HTML + Parameters: {"code"=>"asdf"} +Completed 401 Unauthorized in 9ms (ActiveRecord: 0.0ms) + +NameError (undefined local variable or method `asdf' for #<StaticController:0x00000009658c28>): + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `deep_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:91:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "1687946edf0619145b8dc06f528cf963ace5cbcf"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "NameError"], ["exception_message", "undefined local variable or method `asdf' for #<StaticController:0x00000009658c28>"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/deep_error?code=asdf"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:91:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "1687946edf0619145b8dc06f528cf963ace5cbcf"], ["created_at", "2018-01-05 23:53:19.656372"], ["updated_at", "2018-01-05 23:53:19.656372"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "code=asdf"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncode: asdf\ncontroller: static\naction: deep_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.667642"], ["updated_at", "2018-01-05 23:53:19.667642"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.667642"], ["updated_at", "2018-01-05 23:53:19.672284"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '1687946edf0619145b8dc06f528cf963ace5cbcf' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +Started GET "/static/deep_error?code=fdsa" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#deep_error as HTML + Parameters: {"code"=>"fdsa"} +Completed 401 Unauthorized in 8ms (ActiveRecord: 0.0ms) + +NameError (undefined local variable or method `fdsa' for #<StaticController:0x00000008313230>): + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `eval' + app/controllers/static_controller.rb:15:in `deep_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:94:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "08901f485c4e6451fc50a81753940b619e8dd07b"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' LIMIT 1 + SQL (0.1ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "NameError"], ["exception_message", "undefined local variable or method `fdsa' for #<StaticController:0x00000008313230>"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/deep_error?code=fdsa"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `eval'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:15:in\n `deep_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:94:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:90:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:102:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "08901f485c4e6451fc50a81753940b619e8dd07b"], ["created_at", "2018-01-05 23:53:19.708130"], ["updated_at", "2018-01-05 23:53:19.708130"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "code=fdsa"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncode: fdsa\ncontroller: static\naction: deep_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 2], ["created_at", "2018-01-05 23:53:19.719878"], ["updated_at", "2018-01-05 23:53:19.719878"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' AND "errors"."id" != 2) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.719878"], ["updated_at", "2018-01-05 23:53:19.724182"], ["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '08901f485c4e6451fc50a81753940b619e8dd07b' AND "errors"."id" != 2) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 2]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not make an error in the database if table name is not set. +------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:54:in `block (3 levels) in <class:ErrorsIntegrationTest>' + minitest (5.11.1) lib/minitest/mock.rb:234:in `stub' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:53:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:64:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:64:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should not throw errors when a file is in the params. +---------------------------------------------------------------------------------------------- +Started POST "/static/post_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#post_error as HTML + Parameters: {"file"=>#<ActionDispatch::Http::UploadedFile:0x00000007db52e8 @tempfile=#<Tempfile:/tmp/RackMultipart20180105-3768-hr1zz9.txt>, @original_filename="error.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"error.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 33\r\n">} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (Error): + app/controllers/static_controller.rb:29:in `post_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:38:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:38:in `post' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:142:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "511c4cf64e4d02f12bc2e5180ea07da583ffcc00"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "Error"], ["http_method", "POST"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/post_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:29:in\n `post_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:38:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:38:in\n `post'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:142:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:153:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "511c4cf64e4d02f12bc2e5180ea07da583ffcc00"], ["created_at", "2018-01-05 23:53:19.758047"], ["updated_at", "2018-01-05 23:53:19.758047"]] +  (0.2ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nfile: \"Content-Disposition: form-data; name=\\\"file\\\"; filename=\\\"error.txt\\\"\\r\\nContent-Type:\n text/plain\\r\\nContent-Length: 33\\r\\n\"\ncontroller: static\naction: post_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.769565"], ["updated_at", "2018-01-05 23:53:19.769565"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.769565"], ["updated_at", "2018-01-05 23:53:19.774752"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '511c4cf64e4d02f12bc2e5180ea07da583ffcc00' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error and error_occurrence with the right fields. +----------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:31:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:31:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:43:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.799748"], ["updated_at", "2018-01-05 23:53:19.799748"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "user_agent", "referer", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["user_agent", "TestGuy"], ["referer", "Referer"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.810893"], ["updated_at", "2018-01-05 23:53:19.810893"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.810893"], ["updated_at", "2018-01-05 23:53:19.815911"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 + Errdo::ErrorOccurrence Load (0.3ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not have overly long error hash. +---------------------------------------------------------------------------------------------------- +Started GET "/static/long_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#long_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee): + app/controllers/static_controller.rb:11:in `long_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:85:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "f9a1275a613d854e79631ba2ed97ec986d32d188"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' LIMIT 1 + SQL (0.4ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/long_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:11:in\n `long_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:85:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:97:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "f9a1275a613d854e79631ba2ed97ec986d32d188"], ["created_at", "2018-01-05 23:53:19.843900"], ["updated_at", "2018-01-05 23:53:19.843900"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: long_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.855653"], ["updated_at", "2018-01-05 23:53:19.855653"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.855653"], ["updated_at", "2018-01-05 23:53:19.860663"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'f9a1275a613d854e79631ba2ed97ec986d32d188' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: ErrorsIntegration should render a 500 error page. +-------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:15:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:27:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.887259"], ["updated_at", "2018-01-05 23:53:19.887259"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.899335"], ["updated_at", "2018-01-05 23:53:19.899335"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.899335"], ["updated_at", "2018-01-05 23:53:19.904242"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------ +ErrorsIntegrationTest: test_: model creation after an error should make an error if log404 is set and 404 is hit. +------------------------------------------------------------------------------------------------------------------ +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:107:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:106:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "ActionController::RoutingError"], ["exception_message", "No route matches [GET] \"/not-a-path\""], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/not-a-path"], ["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:107:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:106:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:117:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"], ["created_at", "2018-01-05 23:53:19.926920"], ["updated_at", "2018-01-05 23:53:19.926920"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["cookie_values", "--- {}\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.933790"], ["updated_at", "2018-01-05 23:53:19.933790"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.933790"], ["updated_at", "2018-01-05 23:53:19.937063"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not notify when the ignore_time is set and the last error occurrence is within that time. +------------------------------------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:119:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:19.959647"], ["updated_at", "2018-01-05 23:53:19.959647"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.970569"], ["updated_at", "2018-01-05 23:53:19.970569"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:19.970569"], ["updated_at", "2018-01-05 23:53:19.974782"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:19 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:125:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:131:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:19.996483"], ["updated_at", "2018-01-05 23:53:19.996483"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:53:19.996483"], ["updated_at", "2018-01-05 23:53:20.003730"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error with the current user if a user is logged in. +------------------------------------------------------------------------------------------------------------------------------- + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +Started POST "/users/sign_in" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by Devise::SessionsController#create as HTML + Parameters: {"user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]"}} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2018-01-05 23:53:20.024711"], ["current_sign_in_at", "2018-01-05 23:53:20.024711"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-01-05 23:53:20.025441"], ["id", 227792459]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 6ms (ActiveRecord: 0.3ms) +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:100:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 227792459]] + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "last_experiencer_id", "last_experiencer_type", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:100:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:111:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:20.036558"], ["updated_at", "2018-01-05 23:53:20.036558"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "experiencer_id", "experiencer_type", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["experiencer_id", 227792459], ["experiencer_type", "User"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "---\n_dummy_session: b2ZteU1oQi8yZHk0OFZKRVNGTGZzeFZUdnkvTVgzRFhacGM0QXNBSE1JeTlnUXBOTTdyMnU4YkMwRVBiQ2dNb3ZpeU9DUTBZbXVGV21xaG1zbHRkdi9FZFdnb0RlY3VndGdPTnFDbzlSZ0ptWDhIcmhiNFhmMTc2aUhrdDlQTTNPZWtKbkZrUFJxSmhUMVFPb1JXYy8vVzVmMm5xRVgrY2lyaTlVVGxBYmFCcERJUUh5VjRLY2lGM29yOWV3ZlJoUXFMRGhFMnhBOFZmbUlwQ1FNdWIzU1ZvbVcyZTZxMElYcXRPb09vQTRQSUFRZHdGQ3VyeTJjTDFKZTRXaWkrSi0tSmVuVjhLVlFBbzhUWkgvK254MlpPdz09--4bc6b2e902b4cb4edab2328d2ca5f34718de0832\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.049382"], ["updated_at", "2018-01-05 23:53:20.049382"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.049382"], ["updated_at", "2018-01-05 23:53:20.054562"], ["id", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 + User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should make an error in the database if table name is set. +----------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:21:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:20.089809"], ["updated_at", "2018-01-05 23:53:20.089809"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.104009"], ["updated_at", "2018-01-05 23:53:20.104009"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.104009"], ["updated_at", "2018-01-05 23:53:20.109272"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:25:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:24:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:33:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.136960"], ["updated_at", "2018-01-05 23:53:20.136960"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2018-01-05 23:53:20.136960"], ["updated_at", "2018-01-05 23:53:20.143018"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.4ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.3ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------ +ErrorsIntegrationTest: test_: odd cases should create error when double render error is called. +------------------------------------------------------------------------------------------------ +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/double_render_error" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#double_render_error as HTML + Rendered static/home.html.erb within layouts/application (0.2ms) +Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) + +AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:15:in `render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' + activesupport (4.2.10) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:43:in `render' + app/controllers/static_controller.rb:25:in `double_render_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:135:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:134:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "81df979257d4e5d47f9930837aa3e1ec35e07e3d"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "AbstractController::DoubleRenderError"], ["exception_message", "Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like \"redirect_to(...) and return\"."], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/double_render_error"], ["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:15:in\n `render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block (2 levels) in render'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `block in ms'\"\n- \"/usr/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/benchmark.rb:12:in\n `ms'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:44:in\n `block in render'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:87:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:25:in\n `cleanup_view_runtime'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:43:in\n `render'\"\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:25:in\n `double_render_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:135:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:134:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:144:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "81df979257d4e5d47f9930837aa3e1ec35e07e3d"], ["created_at", "2018-01-05 23:53:20.183936"], ["updated_at", "2018-01-05 23:53:20.183936"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: double_render_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.198004"], ["updated_at", "2018-01-05 23:53:20.198004"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.198004"], ["updated_at", "2018-01-05 23:53:20.205159"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '81df979257d4e5d47f9930837aa3e1ec35e07e3d' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: odd cases should not have issues making an error occurrence when there is a utf8 encoding error. +------------------------------------------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +Started GET "/static/generic_error?utf=%C3%28" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"utf"=>"\xC3("} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.10) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:149:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?utf=%C3%28"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:150:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:149:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:161:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:20.245049"], ["updated_at", "2018-01-05 23:53:20.245049"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "utf=%C3%28"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nutf: \"�(\"\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.258702"], ["updated_at", "2018-01-05 23:53:20.258702"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.258702"], ["updated_at", "2018-01-05 23:53:20.265316"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.2ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.2ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: ErrorsIntegration should render a 404 error page. +-------------------------------------------------------------------------------- +Started GET "/not-a-path" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:10:in `block in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "ActionController::RoutingError"], ["exception_message", "No route matches [GET] \"/not-a-path\""], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/not-a-path"], ["backtrace", "---\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:10:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:22:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "dbcb5f9025e6b94cf8a96327ae227c838abbe07d"], ["created_at", "2018-01-05 23:53:20.293143"], ["updated_at", "2018-01-05 23:53:20.293143"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["cookie_values", "--- {}\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.302102"], ["updated_at", "2018-01-05 23:53:20.302102"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.302102"], ["updated_at", "2018-01-05 23:53:20.306649"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'dbcb5f9025e6b94cf8a96327ae227c838abbe07d' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: model creation after an error should not store a password in the params. +------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error?password=[FILTERED]&passwd=dirty&password_confirmation=[FILTERED]&secret=dirty&confirm_password=[FILTERED]&secret_token=dirty" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML + Parameters: {"password"=>"[FILTERED]", "passwd"=>"dirty", "password_confirmation"=>"[FILTERED]", "secret"=>"dirty", "confirm_password"=>"[FILTERED]", "secret_token"=>"dirty"} +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:59:in `block (2 levels) in <class:ErrorsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error?password=dirty&passwd=dirty&password_confirmation=dirty&secret=dirty&confirm_password=dirty&secret_token=dirty"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:59:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/errors_integration_test.rb:71:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:20.329405"], ["updated_at", "2018-01-05 23:53:20.329405"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", "password=dirty&passwd=dirty&password_confirmation=dirty&secret=dirty&confirm_password=dirty&secret_token=dirty"], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\npassword: \"...\"\npasswd: \"...\"\npassword_confirmation: \"...\"\nsecret: \"...\"\nconfirm_password: \"...\"\nsecret_token: \"...\"\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.343302"], ["updated_at", "2018-01-05 23:53:20.343302"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.343302"], ["updated_at", "2018-01-05 23:53:20.349177"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] + Errdo::ErrorOccurrence Load (0.3ms) SELECT "error_occurrences".* FROM "error_occurrences" ORDER BY "error_occurrences"."id" DESC LIMIT 1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------- +ErrorOccurrenceTest: test_: callbacks should update last_occurrence of error when created. +------------------------------------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "http_method", "host_name", "url", "last_occurred_at", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["backtrace", "---\n- error20\n"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "www.example.com"], ["last_occurred_at", "2018-01-05 23:53:17.747171"], ["backtrace_hash", "0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525"], ["created_at", "2018-01-05 23:53:20.372418"], ["updated_at", "2018-01-05 23:53:20.372418"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:20.375743"], ["updated_at", "2018-01-05 23:53:20.375743"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.375743"], ["updated_at", "2018-01-05 23:53:20.378520"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '0ab0ee60c81e1d4bc3b5e72f6a7a82f9f6a1e525' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------- +ErrorOccurrenceTest: test_: model linkages should have correct relations. +-------------------------------------------------------------------------- +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-01-05 23:53:20.383852"], ["updated_at", "2018-01-05 23:53:20.383852"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should not fail when the slack ping returns an error. +------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:36:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:47:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:20.404539"], ["updated_at", "2018-01-05 23:53:20.404539"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.419233"], ["updated_at", "2018-01-05 23:53:20.419233"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.419233"], ["updated_at", "2018-01-05 23:53:20.425447"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.3ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +Exception from WebMock +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should send a slack notification when error is hit. +----------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:15:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:26:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:20.459973"], ["updated_at", "2018-01-05 23:53:20.459973"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.472180"], ["updated_at", "2018-01-05 23:53:20.472180"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.472180"], ["updated_at", "2018-01-05 23:53:20.477072"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------ +PluginsIntegrationTest: test_: slack integration should correctly send a notification when there is no database stored error. +------------------------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:29:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:39:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:39:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------------------------- +PluginsIntegrationTest: test_: slack integration should not send a slack notification when error is hit if webhook is not set. +------------------------------------------------------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2018-01-05 18:53:20 -0500 +Processing by StaticController#generic_error as HTML +Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) + +RuntimeError (standard-error): + app/controllers/static_controller.rb:7:in `generic_error' + actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.7) lib/warden/manager.rb:36:in `block in call' + warden (1.2.7) lib/warden/manager.rb:35:in `catch' + warden (1.2.7) lib/warden/manager.rb:35:in `call' + rack (1.6.8) lib/rack/etag.rb:24:in `call' + rack (1.6.8) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.8) lib/rack/head.rb:13:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.8) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.8) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.8) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.8) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.8) lib/rack/lock.rb:17:in `call' + actionpack (4.2.10) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.8) lib/rack/sendfile.rb:113:in `call' + railties (4.2.10) lib/rails/engine.rb:518:in `call' + railties (4.2.10) lib/rails/application.rb:165:in `call' + rack-test (0.6.3) lib/rack/mock_session.rb:30:in `request' + rack-test (0.6.3) lib/rack/test.rb:244:in `process_request' + rack-test (0.6.3) lib/rack/test.rb:124:in `request' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.10) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block (2 levels) in <class:PluginsIntegrationTest>' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec' + /home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block in create_test_from_should_hash' + minitest (5.11.1) lib/minitest/test.rb:93:in `block (3 levels) in run' + minitest (5.11.1) lib/minitest/test.rb:190:in `capture_exceptions' + minitest (5.11.1) lib/minitest/test.rb:90:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:265:in `time_it' + minitest (5.11.1) lib/minitest/test.rb:89:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest/test.rb:206:in `with_info_handler' + minitest (5.11.1) lib/minitest/test.rb:88:in `run' + minitest-reporters (1.1.19) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.11.1) lib/minitest.rb:943:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:334:in `run_one_method' + minitest (5.11.1) lib/minitest.rb:321:in `block (2 levels) in run' + minitest (5.11.1) lib/minitest.rb:320:in `each' + minitest (5.11.1) lib/minitest.rb:320:in `block in run' + minitest (5.11.1) lib/minitest.rb:360:in `on_signal' + minitest (5.11.1) lib/minitest.rb:347:in `with_info_handler' + minitest (5.11.1) lib/minitest.rb:319:in `run' + minitest (5.11.1) lib/minitest.rb:159:in `block in __run' + minitest (5.11.1) lib/minitest.rb:159:in `map' + minitest (5.11.1) lib/minitest.rb:159:in `__run' + minitest (5.11.1) lib/minitest.rb:136:in `run' + minitest (5.11.1) lib/minitest.rb:63:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' LIMIT 1 + SQL (0.3ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "http_method", "host_name", "url", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "standard-error"], ["http_method", "GET"], ["host_name", "www.example.com"], ["url", "http://www.example.com/static/generic_error"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionview-4.2.10/lib/action_view/rendering.rb:30:in `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\"\n- \"/var/lib/gems/2.3.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:25:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:38:in `call_app'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `block\n in call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb:20:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/lock.rb:17:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/var/lib/gems/2.3.0/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/var/lib/gems/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:22:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/plugins_integration_test.rb:32:in `block\n in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "7a5518b242d5168bdbb50bd49b6176a8b166a7cc"], ["created_at", "2018-01-05 23:53:20.525701"], ["updated_at", "2018-01-05 23:53:20.525701"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("ip", "query_string", "param_values", "cookie_values", "header_values", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["ip", "127.0.0.1"], ["query_string", ""], ["param_values", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\ncontroller: static\naction: generic_error\n"], ["cookie_values", "--- {}\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 1], ["created_at", "2018-01-05 23:53:20.537889"], ["updated_at", "2018-01-05 23:53:20.537889"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.537889"], ["updated_at", "2018-01-05 23:53:20.544180"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '7a5518b242d5168bdbb50bd49b6176a8b166a7cc' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY created_at DESC LIMIT 1 OFFSET 1 [["error_id", 1]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------------------------- +ErrdoGeneratorTest: test_: ErrdoGenerator should add class name to initializer. +-------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------ +NonWebTest: test_: rake tasks should create an error when a task fails. +------------------------------------------------------------------------ +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "5cedfe50e43fb3a9caf1946654f8ecf475a6314f"]] +  (0.0ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "ERRA"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/dummy/lib/tasks/test.rake:4:in `block (2 levels)\n in <top (required)>'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'\"\n- \"/home/chronos/repos/errdo/lib/errdo/rake/task.rb:8:in `execute'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'\"\n- \"/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'\"\n- \"/var/lib/gems/2.3.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:33:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:32:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:43:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "5cedfe50e43fb3a9caf1946654f8ecf475a6314f"], ["created_at", "2018-01-05 23:53:20.569514"], ["updated_at", "2018-01-05 23:53:20.569514"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:20.574990"], ["updated_at", "2018-01-05 23:53:20.574990"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' AND "errors"."id" != 1) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.574990"], ["updated_at", "2018-01-05 23:53:20.579202"], ["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '5cedfe50e43fb3a9caf1946654f8ecf475a6314f' AND "errors"."id" != 1) LIMIT 1 +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------------------- +NonWebTest: test_: rake tasks should not create an error when a task fails with an interrupt. +---------------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------------------------------------------- +NonWebTest: test_: active jobs should log to errdo when job fails asynchronously. +---------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +[ActiveJob] [FailJob] [ec1a65f9-e1ed-49ca-b99e-252494361248] Performing FailJob from Inline(default) +[ActiveJob] [FailJob] [ec1a65f9-e1ed-49ca-b99e-252494361248] Performed FailJob from Inline(default) in 0.08ms + Errdo::Error Load (0.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "6fd7e35a428d8d0bc287e040f4c6c39d4e765d13"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' LIMIT 1 + SQL (0.2ms) INSERT INTO "errors" ("exception_class_name", "exception_message", "backtrace", "backtrace_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["exception_class_name", "RuntimeError"], ["exception_message", "AsynchronousFailure"], ["backtrace", "---\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:10:in `perform'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:32:in `block\n in perform_now'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:498:in\n `block (2 levels) in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:343:in\n `block (2 levels) in simple'\"\n- \"/var/lib/gems/2.3.0/gems/i18n-0.9.1/lib/i18n.rb:265:in `with_locale'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/translation.rb:7:in `block\n (2 levels) in <module:Translation>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `block in make_lambda'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:342:in\n `block in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:497:in\n `block in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:498:in\n `block (2 levels) in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:343:in\n `block (2 levels) in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:23:in `block\n (4 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:22:in `block\n (3 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:43:in `block\n in tag_logger'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:43:in `tag_logger'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/logging.rb:19:in `block\n (2 levels) in <module:Logging>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `instance_exec'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:441:in\n `block in make_lambda'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:342:in\n `block in simple'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:497:in\n `block in around'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:778:in\n `_run_perform_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:31:in `perform_now'\"\n- \"/var/lib/gems/2.3.0/gems/activejob-4.2.10/lib/active_job/execution.rb:16:in `perform_now'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:63:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/var/lib/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:61:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:73:in `instance_exec'\"\n- \"/home/chronos/repos/errdo/test/integrations/non_web_test.rb:73:in `block in create_test_from_should_hash'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:93:in `block (3 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:190:in `capture_exceptions'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:90:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:265:in `time_it'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:89:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:206:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest/test.rb:88:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-reporters-1.1.19/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:943:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:334:in `run_one_method'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:321:in `block (2 levels)\n in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `each'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:320:in `block in run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:360:in `on_signal'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:347:in `with_info_handler'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:319:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `block in __run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `map'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:159:in `__run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:136:in `run'\"\n- \"/var/lib/gems/2.3.0/gems/minitest-5.11.1/lib/minitest.rb:63:in `block in autorun'\"\n"], ["backtrace_hash", "6fd7e35a428d8d0bc287e040f4c6c39d4e765d13"], ["created_at", "2018-01-05 23:53:20.597209"], ["updated_at", "2018-01-05 23:53:20.597209"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 1], ["created_at", "2018-01-05 23:53:20.604376"], ["updated_at", "2018-01-05 23:53:20.604376"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 1]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' AND "errors"."id" != 1) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2018-01-05 23:53:20.604376"], ["updated_at", "2018-01-05 23:53:20.608390"], ["id", 1]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '6fd7e35a428d8d0bc287e040f4c6c39d4e765d13' AND "errors"."id" != 1) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------------------------------- +NonWebTest: test_: rake tasks should create not an error when a task fails when not set. +----------------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.0ms) rollback transaction