test/dummy/log/test.log in errdo-0.11.4 vs test/dummy/log/test.log in errdo-0.11.5

- old
+ new

@@ -1161645,5 +1161645,3112 @@ Rendered /home/eric/Projects/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/application (11.7ms) Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (7.2ms) Completed 200 OK in 27ms (Views: 20.3ms | ActiveRecord: 0.5ms) Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 3]]  (0.2ms) 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$WzkWG4YPhqlsw0P6odQUeetg/JWq1M5IYtotVNoF08UsjKGPqsdCm', '2016-11-13 22:59:11', '2016-11-13 22:59:11', 227792459) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('user2@example.com', '$2a$04$eFaDajfj3kXGvKDn.XO.4.JeotEE7EwFoyUs51V.9DElnH1Tyo5zy', '2016-11-13 22:59:11', '2016-11-13 22:59:11', 358143215) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "permission_class", "created_at", "updated_at", "id") VALUES ('loser@example.com', '$2a$04$yGdrtfKb/ia.1X1A.PVShuCf6yi5i3rlzzDEQH2YUNjHOExJQHvIO', 1, '2016-11-13 22:59:11', '2016-11-13 22:59:11', 160683007) +  (9.1ms) commit transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------- +ViewsHelperTest: test_: methods user_show_string should default to email. +-------------------------------------------------------------------------- + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (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.1ms) 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.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.1ms) rollback transaction +  (0.1ms) 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 2016-11-13 17:59:11 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/plugins_integration_test.rb:29:in `block (2 levels) in <class:PluginsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + +  (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 2016-11-13 17:59:11 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/plugins_integration_test.rb:15:in `block (2 levels) in <class:PluginsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/plugins_integration_test.rb:15:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:11.439145"], ["updated_at", "2016-11-13 22:59:11.439145"]] +  (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", ""], ["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", 3], ["created_at", "2016-11-13 22:59:11.468058"], ["updated_at", "2016-11-13 22:59:11.468058"]] + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.468058"], ["updated_at", "2016-11-13 22:59:11.473725"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_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 2016-11-13 17:59:11 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/plugins_integration_test.rb:36:in `block (2 levels) in <class:PluginsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/plugins_integration_test.rb:36:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:11.505304"], ["updated_at", "2016-11-13 22:59:11.505304"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.517712"], ["updated_at", "2016-11-13 22:59:11.517712"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.517712"], ["updated_at", "2016-11-13 22:59:11.523542"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Exception from WebMock +  (0.2ms) 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 2016-11-13 17:59:11 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/plugins_integration_test.rb:22:in `block (2 levels) in <class:PluginsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/plugins_integration_test.rb:22:in `block\n (2 levels) in <class:PluginsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:11.556967"], ["updated_at", "2016-11-13 22:59:11.556967"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.569798"], ["updated_at", "2016-11-13 22:59:11.569798"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.569798"], ["updated_at", "2016-11-13 22:59:11.574593"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------- +InstallGeneratorTest: test_: InstallGenerator should assert initializer is properly created. +--------------------------------------------------------------------------------------------- +  (0.1ms) rollback 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.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'error1standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error1standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:11.594426"], ["updated_at", "2016-11-13 22:59:11.594426"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.597175"], ["updated_at", "2016-11-13 22:59:11.597175"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error1standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.597175"], ["updated_at", "2016-11-13 22:59:11.599745"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error1standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) 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", "2016-11-13 22:59:11.603837"], ["updated_at", "2016-11-13 22:59:11.603837"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) 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" = ? LIMIT 1 [["backtrace_hash", "t.rb:59:in `block (3 levels) in <class:ErrdoTest>'Cool beansRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 't.rb:59:in `block (3 levels) in <class:ErrdoTest>''Cool beansRuntimeError' LIMIT 1 + SQL (0.3ms) 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/eric/Projects/errdo/test/models/errdo_test.rb:59:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["backtrace_hash", "t.rb:59:in `block (3 levels) in <class:ErrdoTest>'Cool beansRuntimeError"], ["created_at", "2016-11-13 22:59:11.612111"], ["updated_at", "2016-11-13 22:59:11.612111"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) 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$yGdrtfKb/ia.1X1A.PVShuCf6yi5i3rlzzDEQH2YUNjHOExJQHvIO\"\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: '2016-11-13 22:59:11'\n updated_at: '2016-11-13 22:59:11'\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: \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$yGdrtfKb/ia.1X1A.PVShuCf6yi5i3rlzzDEQH2YUNjHOExJQHvIO\"\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: '2016-11-13 22:59:11'\n updated_at: '2016-11-13 22:59:11'\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$yGdrtfKb/ia.1X1A.PVShuCf6yi5i3rlzzDEQH2YUNjHOExJQHvIO\"\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: '2016-11-13 22:59:11'\n type: *9\n updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: updated_at\n value_before_type_cast: '2016-11-13 22:59:11'\n type: *10\n new_record: false\n active_record_yaml_version: 0\n:data: Here's some data\n"], ["error_id", 3], ["created_at", "2016-11-13 22:59:11.633240"], ["updated_at", "2016-11-13 22:59:11.633240"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:59:in `block (3 levels) in <class:ErrdoTest>''Cool beansRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.633240"], ["updated_at", "2016-11-13 22:59:11.641817"], ["id", 3]] + 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" = 't.rb:59:in `block (3 levels) in <class:ErrdoTest>''Cool beansRuntimeError' AND "errors"."id" != 3) 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.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.1ms) 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", "t.rb:51:in `block (4 levels) in <class:ErrdoTest>'None"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 't.rb:51:in `block (4 levels) in <class:ErrdoTest>''None' 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/eric/Projects/errdo/test/models/errdo_test.rb:51:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/eric/Projects/errdo/test/models/errdo_test.rb:50:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["importance", "info"], ["backtrace_hash", "t.rb:51:in `block (4 levels) in <class:ErrdoTest>'None"], ["created_at", "2016-11-13 22:59:11.667075"], ["updated_at", "2016-11-13 22:59:11.667075"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.671681"], ["updated_at", "2016-11-13 22:59:11.671681"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:51:in `block (4 levels) in <class:ErrdoTest>''None' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.671681"], ["updated_at", "2016-11-13 22:59:11.675058"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:51:in `block (4 levels) in <class:ErrdoTest>''None' AND "errors"."id" != 3) 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.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "t.rb:82:in `block (3 levels) in <class:ErrdoTest>'Cool beans2None"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 't.rb:82:in `block (3 levels) in <class:ErrdoTest>''Cool beans2None' 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/eric/Projects/errdo/test/models/errdo_test.rb:82:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["importance", "info"], ["backtrace_hash", "t.rb:82:in `block (3 levels) in <class:ErrdoTest>'Cool beans2None"], ["created_at", "2016-11-13 22:59:11.686335"], ["updated_at", "2016-11-13 22:59:11.686335"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.691419"], ["updated_at", "2016-11-13 22:59:11.691419"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:82:in `block (3 levels) in <class:ErrdoTest>''Cool beans2None' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.691419"], ["updated_at", "2016-11-13 22:59:11.696156"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:82:in `block (3 levels) in <class:ErrdoTest>''Cool beans2None' AND "errors"."id" != 3) 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 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", "t.rb:37:in `block (4 levels) in <class:ErrdoTest>'None"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 't.rb:37:in `block (4 levels) in <class:ErrdoTest>''None' 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/eric/Projects/errdo/test/models/errdo_test.rb:37:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/eric/Projects/errdo/test/models/errdo_test.rb:36:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["importance", "warning"], ["backtrace_hash", "t.rb:37:in `block (4 levels) in <class:ErrdoTest>'None"], ["created_at", "2016-11-13 22:59:11.708788"], ["updated_at", "2016-11-13 22:59:11.708788"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.713341"], ["updated_at", "2016-11-13 22:59:11.713341"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:37:in `block (4 levels) in <class:ErrdoTest>''None' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.713341"], ["updated_at", "2016-11-13 22:59:11.716344"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:37:in `block (4 levels) in <class:ErrdoTest>''None' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) SELECT COUNT(*) FROM "errors" +  (0.3ms) 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.0ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "t.rb:20:in `block (4 levels) in <class:ErrdoTest>'Cool beansRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 't.rb:20:in `block (4 levels) in <class:ErrdoTest>''Cool beansRuntimeError' 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/eric/Projects/errdo/test/models/errdo_test.rb:20:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/eric/Projects/errdo/test/models/errdo_test.rb:18:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "t.rb:20:in `block (4 levels) in <class:ErrdoTest>'Cool beansRuntimeError"], ["created_at", "2016-11-13 22:59:11.733817"], ["updated_at", "2016-11-13 22:59:11.733817"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.738631"], ["updated_at", "2016-11-13 22:59:11.738631"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:20:in `block (4 levels) in <class:ErrdoTest>''Cool beansRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.738631"], ["updated_at", "2016-11-13 22:59:11.741596"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:20:in `block (4 levels) in <class:ErrdoTest>''Cool beansRuntimeError' AND "errors"."id" != 3) 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 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", "t.rb:75:in `block (3 levels) in <class:ErrdoTest>'Cool beansNone"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 't.rb:75:in `block (3 levels) in <class:ErrdoTest>''Cool beansNone' 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/eric/Projects/errdo/test/models/errdo_test.rb:75:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["last_experiencer_id", 160683007], ["last_experiencer_type", "User"], ["backtrace_hash", "t.rb:75:in `block (3 levels) in <class:ErrdoTest>'Cool beansNone"], ["created_at", "2016-11-13 22:59:11.756548"], ["updated_at", "2016-11-13 22:59:11.756548"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) 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$yGdrtfKb/ia.1X1A.PVShuCf6yi5i3rlzzDEQH2YUNjHOExJQHvIO\"\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: '2016-11-13 22:59:11'\n updated_at: '2016-11-13 22:59:11'\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: \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$yGdrtfKb/ia.1X1A.PVShuCf6yi5i3rlzzDEQH2YUNjHOExJQHvIO\"\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: '2016-11-13 22:59:11'\n updated_at: '2016-11-13 22:59:11'\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$yGdrtfKb/ia.1X1A.PVShuCf6yi5i3rlzzDEQH2YUNjHOExJQHvIO\"\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: '2016-11-13 22:59:11'\n type: *9\n updated_at: !ruby/object:ActiveRecord::Attribute::FromDatabase\n name: updated_at\n value_before_type_cast: '2016-11-13 22:59:11'\n type: *10\n new_record: false\n active_record_yaml_version: 0\n:data: Here's some data\n"], ["error_id", 3], ["created_at", "2016-11-13 22:59:11.777522"], ["updated_at", "2016-11-13 22:59:11.777522"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:75:in `block (3 levels) in <class:ErrdoTest>''Cool beansNone' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.777522"], ["updated_at", "2016-11-13 22:59:11.786589"], ["id", 3]] + 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" = 't.rb:75:in `block (3 levels) in <class:ErrdoTest>''Cool beansNone' AND "errors"."id" != 3) 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 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", "t.rb:30:in `block (4 levels) in <class:ErrdoTest>'None"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 't.rb:30:in `block (4 levels) in <class:ErrdoTest>''None' 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/eric/Projects/errdo/test/models/errdo_test.rb:30:in `block (4 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/eric/Projects/errdo/test/models/errdo_test.rb:29:in `block (3 levels) in\n <class:ErrdoTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "t.rb:30:in `block (4 levels) in <class:ErrdoTest>'None"], ["created_at", "2016-11-13 22:59:11.809687"], ["updated_at", "2016-11-13 22:59:11.809687"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.814405"], ["updated_at", "2016-11-13 22:59:11.814405"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:30:in `block (4 levels) in <class:ErrdoTest>''None' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.814405"], ["updated_at", "2016-11-13 22:59:11.817419"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rb:30:in `block (4 levels) in <class:ErrdoTest>''None' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------------------------------------------------------------------------- +ErrdoTest: test_: methods on the module warn and error should not create an error, but should send notification with Errdo.notify. +----------------------------------------------------------------------------------------------------------------------------------- +  (0.4ms) 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.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'error2standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error2standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:11.845645"], ["updated_at", "2016-11-13 22:59:11.845645"]] +  (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", 3], ["created_at", "2016-11-13 22:59:11.848929"], ["updated_at", "2016-11-13 22:59:11.848929"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error2standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:11.848929"], ["updated_at", "2016-11-13 22:59:11.851711"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error2standard-errorRuntimeError' AND "errors"."id" != 3) 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 2016-11-13 17:59:11 -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.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", "2016-11-13 22:59:11.880742"], ["current_sign_in_at", "2016-11-13 22:59:11.880742"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:11.881682"], ["id", 227792459]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 24ms (ActiveRecord: 0.5ms) +Started GET "/" for 127.0.0.1 at 2016-11-13 17:59:11 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (1.2ms) +Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2016-11-13 17:59:11 -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]] +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 + Rendered /home/eric/Projects/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/application (22.8ms) + Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (4.1ms) +Completed 200 OK in 1423ms (Views: 1421.0ms | ActiveRecord: 0.5ms) +  (0.2ms) 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" = 'error3standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error3standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.380460"], ["updated_at", "2016-11-13 22:59:13.380460"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.383272"], ["updated_at", "2016-11-13 22:59:13.383272"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error3standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.383272"], ["updated_at", "2016-11-13 22:59:13.385782"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error3standard-errorRuntimeError' AND "errors"."id" != 3) 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 2016-11-13 17:59:13 -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", "2016-11-13 22:59:13.399866"], ["current_sign_in_at", "2016-11-13 22:59:13.399866"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:13.400580"], ["id", 160683007]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 9ms (ActiveRecord: 0.3ms) +Started GET "/" for 127.0.0.1 at 2016-11-13 17:59:13 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.4ms) +Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/3" for 127.0.0.1 at 2016-11-13 17:59:13 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"3"} + 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.2ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: cancancan 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" = 'error4standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error4standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.422293"], ["updated_at", "2016-11-13 22:59:13.422293"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.425170"], ["updated_at", "2016-11-13 22:59:13.425170"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error4standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.425170"], ["updated_at", "2016-11-13 22:59:13.427749"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error4standard-errorRuntimeError' AND "errors"."id" != 3) 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 2016-11-13 17:59:13 -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", "2016-11-13 22:59:13.444019"], ["current_sign_in_at", "2016-11-13 22:59:13.444019"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:13.444936"], ["id", 160683007]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 8ms (ActiveRecord: 0.4ms) +Started GET "/" for 127.0.0.1 at 2016-11-13 17:59:13 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.1ms) +Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) +Started GET "/errdo/errors/3" for 127.0.0.1 at 2016-11-13 17:59:13 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"3"} + 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.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" = 'error5standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error5standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.461401"], ["updated_at", "2016-11-13 22:59:13.461401"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.464542"], ["updated_at", "2016-11-13 22:59:13.464542"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error5standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.464542"], ["updated_at", "2016-11-13 22:59:13.467355"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error5standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.2ms) 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 2016-11-13 17:59:13 -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", "2016-11-13 22:59:13.484451"], ["current_sign_in_at", "2016-11-13 22:59:13.484451"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:13.485225"], ["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 2016-11-13 17:59:13 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.1ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2016-11-13 17:59:13 -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 3ms (ActiveRecord: 0.1ms) +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------------------------------- +AuthorizationIntegrationTest: test_: custom authorization block 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" = 'error6standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error6standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.501772"], ["updated_at", "2016-11-13 22:59:13.501772"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.505266"], ["updated_at", "2016-11-13 22:59:13.505266"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error6standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.4ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.505266"], ["updated_at", "2016-11-13 22:59:13.509511"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error6standard-errorRuntimeError' AND "errors"."id" != 3) 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 2016-11-13 17:59:13 -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", "2016-11-13 22:59:13.526165"], ["current_sign_in_at", "2016-11-13 22:59:13.526165"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:13.526957"], ["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 2016-11-13 17:59:13 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.1ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2016-11-13 17:59:13 -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]] +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.3ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 + Rendered /home/eric/Projects/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/application (4.9ms) + Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms) +Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.5ms) +  (0.2ms) 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" = 'error7standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error7standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.550209"], ["updated_at", "2016-11-13 22:59:13.550209"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.553488"], ["updated_at", "2016-11-13 22:59:13.553488"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error7standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.553488"], ["updated_at", "2016-11-13 22:59:13.556276"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error7standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.3ms) 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 2016-11-13 17:59:13 -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", "2016-11-13 22:59:13.572393"], ["current_sign_in_at", "2016-11-13 22:59:13.572393"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:13.573506"], ["id", 160683007]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed 302 Found in 8ms (ActiveRecord: 0.4ms) +Started GET "/" for 127.0.0.1 at 2016-11-13 17:59:13 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.1ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Started GET "/errdo/" for 127.0.0.1 at 2016-11-13 17:59:13 -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.2ms) rollback transaction +  (0.1ms) 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" = 'error8standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error8standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.591789"], ["updated_at", "2016-11-13 22:59:13.591789"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.595121"], ["updated_at", "2016-11-13 22:59:13.595121"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error8standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.595121"], ["updated_at", "2016-11-13 22:59:13.598193"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error8standard-errorRuntimeError' AND "errors"."id" != 3) 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 2016-11-13 17:59:13 -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", "2016-11-13 22:59:13.615047"], ["current_sign_in_at", "2016-11-13 22:59:13.615047"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:13.615941"], ["id", 160683007]] +  (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 2016-11-13 17:59:13 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.1ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/3" for 127.0.0.1 at 2016-11-13 17:59:13 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"3"} + 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", 3]] +  (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" = 'error9standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error9standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.634184"], ["updated_at", "2016-11-13 22:59:13.634184"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.637438"], ["updated_at", "2016-11-13 22:59:13.637438"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error9standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.637438"], ["updated_at", "2016-11-13 22:59:13.640316"], ["id", 3]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error9standard-errorRuntimeError' AND "errors"."id" != 3) 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 2016-11-13 17:59:13 -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", "2016-11-13 22:59:13.658618"], ["current_sign_in_at", "2016-11-13 22:59:13.658618"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:13.659427"], ["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 2016-11-13 17:59:13 -0500 +Processing by StaticController#home as HTML + Rendered static/home.html.erb (0.1ms) +Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Started PUT "/errdo/errors/3" for 127.0.0.1 at 2016-11-13 17:59:13 -0500 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"3"} + 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", 3]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should revoke correctly. +--------------------------------------------------------------------------------- +  (0.4ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should make sure that migrations are produced. +------------------------------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------------------------------------------------------------- +ActiveRecordGeneratorTest: test_: ActiveRecordGenerator should throw error if table name already exists. +--------------------------------------------------------------------------------------------------------- +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------------------------- +NonWebTest: test_: active jobs should log to errdo when job fails asynchronously. +---------------------------------------------------------------------------------- +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +[ActiveJob] [FailJob] [0576566d-57b6-41b0-b4b9-5780e21abebd] Performing FailJob from Inline(default) +[ActiveJob] [FailJob] [0576566d-57b6-41b0-b4b9-5780e21abebd] Performed FailJob from Inline(default) in 0.13ms + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "/test/integrations/non_web_test.rb:10:in `perform'AsynchronousFailureRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = '/test/integrations/non_web_test.rb:10:in `perform''AsynchronousFailureRuntimeError' 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/eric/Projects/errdo/test/integrations/non_web_test.rb:10:in `perform'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/execution.rb:32:in\n `block in perform_now'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in\n `block (2 levels) in around'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:343:in\n `block (2 levels) in simple'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/translation.rb:7:in\n `block (2 levels) in <module:Translation>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in\n `block in make_lambda'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:342:in\n `block in simple'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in\n `block in around'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in\n `block (2 levels) in around'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:343:in\n `block (2 levels) in simple'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/logging.rb:23:in\n `block (4 levels) in <module:Logging>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/logging.rb:22:in\n `block (3 levels) in <module:Logging>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/logging.rb:43:in\n `block in tag_logger'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/logging.rb:43:in\n `tag_logger'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/logging.rb:19:in\n `block (2 levels) in <module:Logging>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in\n `block in make_lambda'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:342:in\n `block in simple'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in\n `block in around'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_perform_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/execution.rb:31:in\n `perform_now'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activejob-4.2.7.1/lib/active_job/execution.rb:16:in\n `perform_now'\"\n- \"/home/eric/Projects/errdo/test/integrations/non_web_test.rb:63:in `block (3 levels)\n in <class:NonWebTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/eric/Projects/errdo/test/integrations/non_web_test.rb:61:in `block (2 levels)\n in <class:NonWebTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "/test/integrations/non_web_test.rb:10:in `perform'AsynchronousFailureRuntimeError"], ["created_at", "2016-11-13 22:59:13.697400"], ["updated_at", "2016-11-13 22:59:13.697400"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.705061"], ["updated_at", "2016-11-13 22:59:13.705061"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '/test/integrations/non_web_test.rb:10:in `perform''AsynchronousFailureRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.705061"], ["updated_at", "2016-11-13 22:59:13.708689"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = '/test/integrations/non_web_test.rb:10:in `perform''AsynchronousFailureRuntimeError' AND "errors"."id" != 3) 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 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" = ? LIMIT 1 [["backtrace_hash", "t.rake:4:in `block (2 levels) in <top (required)>'ERRARuntimeError"]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 2], ["created_at", "2016-11-13 22:59:13.725609"], ["updated_at", "2016-11-13 22:59:13.725609"]] + 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" = 't.rake:4:in `block (2 levels) in <top (required)>''ERRARuntimeError' AND "errors"."id" != 2) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 8], ["last_occurred_at", "2016-11-13 22:59:13.725609"], ["updated_at", "2016-11-13 22:59:13.728810"], ["id", 2]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 't.rake:4:in `block (2 levels) in <top (required)>''ERRARuntimeError' AND "errors"."id" != 2) 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 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 +----------------------------------------------------------------------------------------- +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.0ms) 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 2016-11-13 17:59:13 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:75:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:75:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.754004"], ["updated_at", "2016-11-13 22:59:13.754004"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.765453"], ["updated_at", "2016-11-13 22:59:13.765453"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.765453"], ["updated_at", "2016-11-13 22:59:13.770258"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "errors" +Started GET "/static/generic_error" for 127.0.0.1 at 2016-11-13 17:59:13 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:77:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.7.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:76:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.790865"], ["updated_at", "2016-11-13 22:59:13.790865"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2016-11-13 22:59:13.790865"], ["updated_at", "2016-11-13 22:59:13.796382"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_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 2016-11-13 17:59:13 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:80:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.7.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:79:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.817367"], ["updated_at", "2016-11-13 22:59:13.817367"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 3], ["last_occurred_at", "2016-11-13 22:59:13.817367"], ["updated_at", "2016-11-13 22:59:13.822959"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE 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 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 2016-11-13 17:59:13 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:59:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:59:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.849273"], ["updated_at", "2016-11-13 22:59:13.849273"]] +  (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", "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", 3], ["created_at", "2016-11-13 22:59:13.862680"], ["updated_at", "2016-11-13 22:59:13.862680"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.862680"], ["updated_at", "2016-11-13 22:59:13.870288"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) 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 +-------------------------------------------------------------------------------- +ErrorsIntegrationTest: test_: ErrorsIntegration should render a 500 error page. +-------------------------------------------------------------------------------- +Started GET "/static/generic_error" for 127.0.0.1 at 2016-11-13 17:59:13 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:15:in `block in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:15:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.896050"], ["updated_at", "2016-11-13 22:59:13.896050"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.925823"], ["updated_at", "2016-11-13 22:59:13.925823"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.925823"], ["updated_at", "2016-11-13 22:59:13.931283"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_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 2016-11-13 17:59:13 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:31:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:31:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:13.957089"], ["updated_at", "2016-11-13 22:59:13.957089"]] +  (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", 3], ["created_at", "2016-11-13 22:59:13.969025"], ["updated_at", "2016-11-13 22:59:13.969025"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.3ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:13.969025"], ["updated_at", "2016-11-13 22:59:13.974726"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) 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 +  (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 2016-11-13 17:59:13 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:22:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.7.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:21:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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"], ["backtrace", "---\n- \"/home/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:22:in `block\n (3 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/testing/assertions.rb:71:in\n `assert_difference'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:21:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.003265"], ["updated_at", "2016-11-13 22:59:14.003265"]] +  (0.4ms) 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", 3], ["created_at", "2016-11-13 22:59:14.017204"], ["updated_at", "2016-11-13 22:59:14.017204"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.017204"], ["updated_at", "2016-11-13 22:59:14.022022"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_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 2016-11-13 17:59:14 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:25:in `block (3 levels) in <class:ErrorsIntegrationTest>' + activesupport (4.2.7.1) lib/active_support/testing/assertions.rb:71:in `assert_difference' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:24:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (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", 3], ["created_at", "2016-11-13 22:59:14.042825"], ["updated_at", "2016-11-13 22:59:14.042825"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2016-11-13 22:59:14.042825"], ["updated_at", "2016-11-13 22:59:14.048422"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SELECT COUNT(*) FROM "error_occurrences" +  (0.2ms) 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 2016-11-13 17:59:14 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:54:in `block (3 levels) in <class:ErrorsIntegrationTest>' + minitest (5.9.1) lib/minitest/mock.rb:226:in `stub' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:53:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + +  (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 2016-11-13 17:59:14 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:69:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:69:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.081157"], ["updated_at", "2016-11-13 22:59:14.081157"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.8ms) 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", 3], ["created_at", "2016-11-13 22:59:14.093133"], ["updated_at", "2016-11-13 22:59:14.093133"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.093133"], ["updated_at", "2016-11-13 22:59:14.099837"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) 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 +  (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 2016-11-13 17:59:14 -0500 + +ActionController::RoutingError (No route matches [GET] "/not-a-path"): + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:10:in `block in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "spatch/middleware/debug_exceptions.rb:21:in `call' [GET] \"/not-a-path\"roller::RoutingError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'spatch/middleware/debug_exceptions.rb:21:in `call'' [GET] "/not-a-path"roller::RoutingError' 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", "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- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:10:in `block\n in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "spatch/middleware/debug_exceptions.rb:21:in `call' [GET] \"/not-a-path\"roller::RoutingError"], ["created_at", "2016-11-13 22:59:14.122515"], ["updated_at", "2016-11-13 22:59:14.122515"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.3ms) 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", 3], ["created_at", "2016-11-13 22:59:14.132425"], ["updated_at", "2016-11-13 22:59:14.132425"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'spatch/middleware/debug_exceptions.rb:21:in `call'' [GET] "/not-a-path"roller::RoutingError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.132425"], ["updated_at", "2016-11-13 22:59:14.136129"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'spatch/middleware/debug_exceptions.rb:21:in `call'' [GET] "/not-a-path"roller::RoutingError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (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 2016-11-13 17:59:14 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:85:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "ontrollers/static_controller.rb:11:in `long_error'eeeeeeeeeeeeeeeeeeeeRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'ontrollers/static_controller.rb:11:in `long_error''eeeeeeeeeeeeeeeeeeeeRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:11:in\n `long_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:85:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "ontrollers/static_controller.rb:11:in `long_error'eeeeeeeeeeeeeeeeeeeeRuntimeError"], ["created_at", "2016-11-13 22:59:14.155849"], ["updated_at", "2016-11-13 22:59:14.155849"]] +  (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", 3], ["created_at", "2016-11-13 22:59:14.169484"], ["updated_at", "2016-11-13 22:59:14.169484"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'ontrollers/static_controller.rb:11:in `long_error''eeeeeeeeeeeeeeeeeeeeRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.169484"], ["updated_at", "2016-11-13 22:59:14.174273"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'ontrollers/static_controller.rb:11:in `long_error''eeeeeeeeeeeeeeeeeeeeRuntimeError' AND "errors"."id" != 3) 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 +  (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 2016-11-13 17:59:14 -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", "2016-11-13 22:59:14.198607"], ["current_sign_in_at", "2016-11-13 22:59:14.198607"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-11-13 22:59:14.199370"], ["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 "/static/generic_error" for 127.0.0.1 at 2016-11-13 17:59:14 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:32:in `get' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:91:in `block (2 levels) in <class:ErrorsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62: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", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:32:in\n `get'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/errors_integration_test.rb:91:in `block\n (2 levels) in <class:ErrorsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["last_experiencer_id", 227792459], ["last_experiencer_type", "User"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.210554"], ["updated_at", "2016-11-13 22:59:14.210554"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) 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: dUpQN0Z1d2R4aU5mYUpnNE1qWmxOU3QySG54cnIvTEJNNjF6YXIzRnBVWjMrbG1xMzROMmc1Yy8zb1hreXNPcDdoVDQ1TzhsWVZSbStJanBGL0x0a2M3UnNuNXM3d2NTRVYxazJJa3YzRDJwY1BzVnBPU21OVkpheHEzaXg3b0F2QTFjZjdpSldNWW9FcEVnK01yVWIzRHl4L0IwUC9jOWdpZ0FDbUhOVitMaVhXWXFtalNVTWZvdnQ5QVl2YTRSUDkvaEhmanFmUUlSWTF5cmkyNVhOdmZmOTZjS0IrdDBKTHZPaGZSYk1LdTY0Z2R1azZLNm9OQ3k3NmlRUzg5eC0tYS84UUhRanJ2SFdMQUJUb0lucThrUT09--e45e9d2ed75bb39a1e7d7c78b1e1da9546946689\n"], ["header_values", "---\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nX-Content-Type-Options: nosniff\n"], ["error_id", 3], ["created_at", "2016-11-13 22:59:14.221954"], ["updated_at", "2016-11-13 22:59:14.221954"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.221954"], ["updated_at", "2016-11-13 22:59:14.226959"], ["id", 3]] + 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" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) 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.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 227792459]] +  (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" = 'error10standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error10standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.246857"], ["updated_at", "2016-11-13 22:59:14.246857"]] +  (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", 3], ["created_at", "2016-11-13 22:59:14.249455"], ["updated_at", "2016-11-13 22:59:14.249455"]] + SQL (0.0ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error10standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.249455"], ["updated_at", "2016-11-13 22:59:14.251876"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error10standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Processing by Errdo::ErrorsController#update as HTML + Parameters: {"error"=>{"status"=>"wontfix"}, "id"=>"3"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error10standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "status" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["status", 1], ["updated_at", "2016-11-13 22:59:14.263428"], ["id", 3]] +  (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 "error_occurrences"."id" DESC LIMIT 1 [["error_id", 3]] + 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", 3]] + Rendered /home/eric/Projects/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/application (20.8ms) + Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (5.1ms) +Completed 200 OK in 34ms (Views: 28.1ms | ActiveRecord: 0.8ms) + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 3]] +  (0.2ms) rollback 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" = 'error11standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error11standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.299512"], ["updated_at", "2016-11-13 22:59:14.299512"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------------- +ErrorTest: test_: model linkages should have correct relations. +---------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'error12standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error12standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.305485"], ["updated_at", "2016-11-13 22:59:14.305485"]] +  (0.3ms) RELEASE SAVEPOINT active_record_1 +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------------- +ErrorTest: test_: model attributes should have right fields. +------------------------------------------------------------- +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'error13standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error13standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.313039"], ["updated_at", "2016-11-13 22:59:14.313039"]] +  (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" = 'error14standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error14standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.317934"], ["updated_at", "2016-11-13 22:59:14.317934"]] +  (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", 3], ["created_at", "2016-11-13 22:59:14.322211"], ["updated_at", "2016-11-13 22:59:14.322211"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error14standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.322211"], ["updated_at", "2016-11-13 22:59:14.325146"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error14standard-errorRuntimeError' AND "errors"."id" != 3) 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", "2016-11-13 22:59:14.327866"], ["id", 3]] +  (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.1ms) INSERT INTO "error_occurrences" ("experiencer_id", "experiencer_type", "error_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["experiencer_id", 358143215], ["experiencer_type", "User"], ["error_id", 3], ["created_at", "2016-11-13 22:59:14.331456"], ["updated_at", "2016-11-13 22:59:14.331456"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error14standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 2], ["last_occurred_at", "2016-11-13 22:59:14.331456"], ["updated_at", "2016-11-13 22:59:14.334133"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error14standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "last_experiencer_id" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["last_experiencer_id", 358143215], ["updated_at", "2016-11-13 22:59:14.337069"], ["id", 3]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."id" = ? LIMIT 1 [["id", 10]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 3]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 358143215]] +  (0.1ms) rollback transaction +  (0.1ms) 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" = 'error15standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error15standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.347872"], ["updated_at", "2016-11-13 22:59:14.347872"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 3]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) INSERT INTO "error_occurrences" ("error_id", "created_at", "updated_at") VALUES (?, ?, ?) [["error_id", 3], ["created_at", "2016-11-13 22:59:14.351852"], ["updated_at", "2016-11-13 22:59:14.351852"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error15standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.351852"], ["updated_at", "2016-11-13 22:59:14.354747"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error15standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 3]] +  (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" = 'error16standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error16standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.361494"], ["updated_at", "2016-11-13 22:59:14.361494"]] +  (0.1ms) 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" = 'error17standard-errorRuntimeError' 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", "2016-11-13 22:59:11.229720"], ["backtrace_hash", "error17standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.365223"], ["updated_at", "2016-11-13 22:59:14.365223"]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'error16standard-errorRuntimeError' AND "errors"."id" != 4) LIMIT 1 +  (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 2016-11-13 17:59:14 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:436:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:436:in `block in run_current_setup_blocks' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:434:in `each' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:434:in `run_current_setup_blocks' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:411:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:436:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:436:in\n `block in run_current_setup_blocks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:434:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:434:in\n `run_current_setup_blocks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:411:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.384801"], ["updated_at", "2016-11-13 22:59:14.384801"]] +  (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", 3], ["created_at", "2016-11-13 22:59:14.396155"], ["updated_at", "2016-11-13 22:59:14.396155"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.396155"], ["updated_at", "2016-11-13 22:59:14.400980"], ["id", 3]] + Errdo::Error Exists (0.4ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) 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 +Started GET "/errdo/errors/3" for 127.0.0.1 at 2016-11-13 17:59:14 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"id"=>"3"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 3]] + Errdo::ErrorOccurrence Load (0.1ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."error_id" = ? ORDER BY "error_occurrences"."id" DESC LIMIT 1 [["error_id", 3]] + 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", 3]] + Rendered /home/eric/Projects/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/application (3.2ms) + Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms) +Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms) +  (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 2016-11-13 17:59:14 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:436:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:436:in `block in run_current_setup_blocks' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:434:in `each' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:434:in `run_current_setup_blocks' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:411:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:436:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:436:in\n `block in run_current_setup_blocks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:434:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:434:in\n `run_current_setup_blocks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:411:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.447017"], ["updated_at", "2016-11-13 22:59:14.447017"]] +  (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", 3], ["created_at", "2016-11-13 22:59:14.458612"], ["updated_at", "2016-11-13 22:59:14.458612"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.458612"], ["updated_at", "2016-11-13 22:59:14.463507"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 +  (0.1ms) RELEASE SAVEPOINT active_record_1 +Started GET "/errdo/" for 127.0.0.1 at 2016-11-13 17:59:14 -0500 +Processing by Errdo::ErrorsController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "errors" + Errdo::Error Load (0.2ms) SELECT "errors".* FROM "errors" ORDER BY "errors"."last_occurred_at" DESC LIMIT 20 OFFSET 0 + Rendered /home/eric/Projects/errdo/app/views/errdo/errors/index.html.slim within layouts/errdo/application (3.8ms) + Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (0.3ms) +Completed 200 OK in 6ms (Views: 5.0ms | 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 instance selected. +------------------------------------------------------------------------------------------------------------ +Started GET "/static/generic_error" for 127.0.0.1 at 2016-11-13 17:59:14 -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.2.7.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.7.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.7.1) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.7.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.7.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.7.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.7.1) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.7.1) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.7.1) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.7.1) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:43:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.7.1) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.7.1) lib/action_dispatch/routing/route_set.rb:817:in `call' + warden (1.2.6) lib/warden/manager.rb:35:in `block in call' + warden (1.2.6) lib/warden/manager.rb:34:in `catch' + warden (1.2.6) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.7.1) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.7.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.7.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.7.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.7.1) lib/rails/engine.rb:518:in `call' + railties (4.2.7.1) 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.7.1) lib/action_dispatch/testing/integration.rb:297:in `process' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:93:in `request_via_redirect' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:101:in `get_via_redirect' + actionpack (4.2.7.1) lib/action_dispatch/testing/integration.rb:346:in `block (2 levels) in <module:Runner>' + /home/eric/Projects/errdo/test/integrations/views_integration_test.rb:9:in `block (2 levels) in <class:ViewsIntegrationTest>' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:436:in `instance_exec' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:436:in `block in run_current_setup_blocks' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:434:in `each' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:434:in `run_current_setup_blocks' + shoulda-context (1.2.1) lib/shoulda/context/context.rb:411:in `block in create_test_from_should_hash' + minitest (5.9.1) lib/minitest/test.rb:107:in `block (3 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:204:in `capture_exceptions' + minitest (5.9.1) lib/minitest/test.rb:104:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest/test.rb:255:in `time_it' + minitest (5.9.1) lib/minitest/test.rb:103:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest/test.rb:275:in `with_info_handler' + minitest (5.9.1) lib/minitest/test.rb:102:in `run' + minitest-reporters (1.1.11) lib/minitest/reporters.rb:48:in `run_with_hooks' + minitest (5.9.1) lib/minitest.rb:799:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:322:in `run_one_method' + minitest (5.9.1) lib/minitest.rb:310:in `block (2 levels) in run' + minitest (5.9.1) lib/minitest.rb:309:in `each' + minitest (5.9.1) lib/minitest.rb:309:in `block in run' + minitest (5.9.1) lib/minitest.rb:348:in `on_signal' + minitest (5.9.1) lib/minitest.rb:335:in `with_info_handler' + minitest (5.9.1) lib/minitest.rb:308:in `run' + minitest (5.9.1) lib/minitest.rb:158:in `block in __run' + minitest (5.9.1) lib/minitest.rb:158:in `map' + minitest (5.9.1) lib/minitest.rb:158:in `__run' + minitest (5.9.1) lib/minitest.rb:135:in `run' + minitest (5.9.1) lib/minitest.rb:62:in `block in autorun' + + + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."backtrace_hash" = ? LIMIT 1 [["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"]] +  (0.1ms) SAVEPOINT active_record_1 + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE "errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' 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/eric/Projects/errdo/test/dummy/app/controllers/static_controller.rb:7:in\n `generic_error'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in\n `send_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in\n `block (2 levels) in compile'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_process_action_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in\n `block in process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `block in instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in\n `instrument'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in\n `process_action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in\n `block in action'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in\n `dispatch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in\n `block in serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in\n `serve'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block\n in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in\n `context'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in\n `__run_callbacks__'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in\n `_run_call_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in\n `run_callbacks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in\n `call_app'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `block in call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `block in tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in\n `tagged'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/engine.rb:518:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/railties-4.2.7.1/lib/rails/application.rb:165:in\n `call'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in\n `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/rack-test-0.6.3/lib/rack/test.rb:124:in `request'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:297:in\n `process'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:93:in\n `request_via_redirect'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:101:in\n `get_via_redirect'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_dispatch/testing/integration.rb:346:in\n `block (2 levels) in <module:Runner>'\"\n- \"/home/eric/Projects/errdo/test/integrations/views_integration_test.rb:9:in `block\n (2 levels) in <class:ViewsIntegrationTest>'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:436:in\n `instance_exec'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:436:in\n `block in run_current_setup_blocks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:434:in\n `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:434:in\n `run_current_setup_blocks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:411:in\n `block in create_test_from_should_hash'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in\n `block (3 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in\n `capture_exceptions'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in\n `block (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in\n `time_it'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in\n `block in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in\n `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in\n `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-reporters-1.1.11/lib/minitest/reporters.rb:48:in\n `run_with_hooks'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block\n (2 levels) in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block\n in run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block\n in __run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'\"\n- \"/home/eric/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block\n in autorun'\"\n"], ["backtrace_hash", "trollers/static_controller.rb:7:in `generic_error'standard-errorRuntimeError"], ["created_at", "2016-11-13 22:59:14.501436"], ["updated_at", "2016-11-13 22:59:14.501436"]] +  (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", 3], ["created_at", "2016-11-13 22:59:14.513743"], ["updated_at", "2016-11-13 22:59:14.513743"]] + SQL (0.1ms) UPDATE "errors" SET "occurrence_count" = COALESCE("occurrence_count", 0) + 1 WHERE "errors"."id" = ? [["id", 3]] + Errdo::Error Exists (0.2ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) LIMIT 1 + SQL (0.2ms) UPDATE "errors" SET "occurrence_count" = ?, "last_occurred_at" = ?, "updated_at" = ? WHERE "errors"."id" = ? [["occurrence_count", 1], ["last_occurred_at", "2016-11-13 22:59:14.513743"], ["updated_at", "2016-11-13 22:59:14.519221"], ["id", 3]] + Errdo::Error Exists (0.1ms) SELECT 1 AS one FROM "errors" WHERE ("errors"."backtrace_hash" = 'trollers/static_controller.rb:7:in `generic_error''standard-errorRuntimeError' AND "errors"."id" != 3) 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 +Started GET "/errdo/errors/3?occurrence_id=9" for 127.0.0.1 at 2016-11-13 17:59:14 -0500 +Processing by Errdo::ErrorsController#show as HTML + Parameters: {"occurrence_id"=>"9", "id"=>"3"} + Errdo::Error Load (0.1ms) SELECT "errors".* FROM "errors" WHERE "errors"."id" = ? LIMIT 1 [["id", 3]] + Errdo::ErrorOccurrence Load (0.0ms) SELECT "error_occurrences".* FROM "error_occurrences" WHERE "error_occurrences"."id" = ? LIMIT 1 [["id", 9]] + 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", 3]] + Rendered /home/eric/Projects/errdo/app/views/errdo/errors/show.html.slim within layouts/errdo/application (3.4ms) + Rendered /home/eric/Projects/errdo/app/views/layouts/errdo/_navbar.html.slim (0.4ms) +Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms) +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------------------------- +ErrdoGeneratorTest: test_: ErrdoGenerator should add class name to initializer. +-------------------------------------------------------------------------------- +  (0.1ms) rollback transaction