Created
June 1, 2011 08:49
-
-
Save jeremyvdw/1001999 to your computer and use it in GitHub Desktop.
Minitest backtrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception: | |
MiniTest::Assertion: Expected response to be a <:success>, but was <500> | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/minitest-2.2.1/lib/minitest/unit.rb:178:in `assert' | |
/Users/jeremy/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/test/unit/assertions.rb:19:in `assert' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/minitest-2.2.1/lib/minitest/unit.rb:455:in `flunk' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.0.rc1/lib/action_dispatch/testing/assertions/response.rb:45:in `assert_response' | |
test/integration/users_controller_test.rb:39:in `block (2 levels) in <class:UsersControllerTest>' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc1/lib/active_support/testing/assertions.rb:53:in `assert_difference' | |
test/integration/users_controller_test.rb:37:in `block in <class:UsersControllerTest>' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:157:in `run' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc1/lib/active_support/testing/setup_and_teardown.rb:35:in `block in run' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc1/lib/active_support/callbacks.rb:426:in `_run_setup_callbacks' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc1/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.1.0.rc1/lib/active_support/testing/setup_and_teardown.rb:34:in `run' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:77:in `block (2 levels) in run_test_suites' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:69:in `each' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:69:in `block in run_test_suites' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:63:in `each' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:63:in `run_test_suites' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:42:in `run' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/gems/minitest-2.2.1/lib/minitest/unit.rb:657:in `block in autorun' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang=\"en\"> | |
<head> | |
<meta charset=\"utf-8\" /> | |
<title>Action Controller: Exception caught</title> | |
<style> | |
body { background-color: #fff; color: #333; } | |
body, p, ol, ul, td { | |
font-family: helvetica, verdana, arial, sans-serif; | |
font-size: 13px; | |
line-height: 18px; | |
} | |
pre { | |
background-color: #eee; | |
padding: 10px; | |
font-size: 11px; | |
} | |
a { color: #000; } | |
a:visited { color: #666; } | |
a:hover { color: #fff; background-color:#000; } | |
</style> | |
</head> | |
<body> | |
<h1> | |
NoMethodError | |
in Users::SessionsController#create | |
</h1> | |
<pre>undefined method `match' for 0:Fixnum</pre> | |
<p><code>Rails.root: /Users/jeremy/code/preplaysports-api</code></p> | |
<div id=\"traces\"> | |
<a href=\"#\" onclick=\"document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style.display='block';; return false;\">Application Trace</a> | | |
<a href=\"#\" onclick=\"document.getElementById('Application-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='block';; return false;\">Framework Trace</a> | | |
<a href=\"#\" onclick=\"document.getElementById('Application-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='block';; return false;\">Full Trace</a> | |
<div id=\"Application-Trace\" style=\"display: block;\"> | |
<pre><code>test/integration/users_controller_test.rb:96:in `block in <class:UsersControllerTest>'</code></pre> | |
</div> | |
<div id=\"Framework-Trace\" style=\"display: none;\"> | |
<pre><code>/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/bundler/gems/redis-store-709e7215fbdd/lib/redis/store/namespace.rb:50:in `interpolate' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/bundler/gems/redis-store-709e7215fbdd/lib/redis/store/namespace.rb:46:in `namespace' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/bundler/gems/redis-store-709e7215fbdd/lib/redis/store/namespace.rb:5:in `set' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/bundler/gems/redis-store-709e7215fbdd/lib/action_controller/session/redis_session_store.rb:48:in `set_session' | |
rack (1.3.0) lib/rack/session/abstract/id.rb:301:in `commit_session' | |
rack (1.3.0) lib/rack/session/abstract/id.rb:196:in `context' | |
rack (1.3.0) lib/rack/session/abstract/id.rb:190:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:321:in `call' | |
activerecord (3.1.0.rc1) lib/active_record/query_cache.rb:54:in `call' | |
activerecord (3.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' | |
activesupport (3.1.0.rc1) lib/active_support/callbacks.rb:392:in `_run_call_callbacks' | |
activesupport (3.1.0.rc1) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:28:in `call' | |
rack (1.3.0) lib/rack/sendfile.rb:102:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:48:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' | |
railties (3.1.0.rc1) lib/rails/rack/logger.rb:13:in `call' | |
rack (1.3.0) lib/rack/methodoverride.rb:24:in `call' | |
rack (1.3.0) lib/rack/runtime.rb:17:in `call' | |
rack (1.3.0) lib/rack/lock.rb:34:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/static.rb:53:in `call' | |
railties (3.1.0.rc1) lib/rails/rack/content_length.rb:16:in `call' | |
railties (3.1.0.rc1) lib/rails/engine.rb:438:in `call' | |
rack-test (0.6.0) lib/rack/mock_session.rb:30:in `request' | |
rack-test (0.6.0) lib/rack/test.rb:218:in `process_request' | |
rack-test (0.6.0) lib/rack/test.rb:114:in `request' | |
actionpack (3.1.0.rc1) lib/action_dispatch/testing/integration.rb:292:in `process' | |
actionpack (3.1.0.rc1) lib/action_dispatch/testing/integration.rb:39:in `post' | |
actionpack (3.1.0.rc1) lib/action_dispatch/testing/integration.rb:325:in `block (2 levels) in <module:Runner>' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:157:in `run' | |
activesupport (3.1.0.rc1) lib/active_support/testing/setup_and_teardown.rb:35:in `block in run' | |
activesupport (3.1.0.rc1) lib/active_support/callbacks.rb:426:in `_run_setup_callbacks' | |
activesupport (3.1.0.rc1) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
activesupport (3.1.0.rc1) lib/active_support/testing/setup_and_teardown.rb:34:in `run' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:77:in `block (2 levels) in run_test_suites' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:69:in `each' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:69:in `block in run_test_suites' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:63:in `each' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:63:in `run_test_suites' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:42:in `run' | |
minitest (2.2.1) lib/minitest/unit.rb:657:in `block in autorun'</code></pre> | |
</div> | |
<div id=\"Full-Trace\" style=\"display: none;\"> | |
<pre><code>/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/bundler/gems/redis-store-709e7215fbdd/lib/redis/store/namespace.rb:50:in `interpolate' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/bundler/gems/redis-store-709e7215fbdd/lib/redis/store/namespace.rb:46:in `namespace' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/bundler/gems/redis-store-709e7215fbdd/lib/redis/store/namespace.rb:5:in `set' | |
/Users/jeremy/.rvm/gems/ruby-1.9.2-p180/bundler/gems/redis-store-709e7215fbdd/lib/action_controller/session/redis_session_store.rb:48:in `set_session' | |
rack (1.3.0) lib/rack/session/abstract/id.rb:301:in `commit_session' | |
rack (1.3.0) lib/rack/session/abstract/id.rb:196:in `context' | |
rack (1.3.0) lib/rack/session/abstract/id.rb:190:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:321:in `call' | |
activerecord (3.1.0.rc1) lib/active_record/query_cache.rb:54:in `call' | |
activerecord (3.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' | |
activesupport (3.1.0.rc1) lib/active_support/callbacks.rb:392:in `_run_call_callbacks' | |
activesupport (3.1.0.rc1) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:28:in `call' | |
rack (1.3.0) lib/rack/sendfile.rb:102:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:48:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' | |
railties (3.1.0.rc1) lib/rails/rack/logger.rb:13:in `call' | |
rack (1.3.0) lib/rack/methodoverride.rb:24:in `call' | |
rack (1.3.0) lib/rack/runtime.rb:17:in `call' | |
rack (1.3.0) lib/rack/lock.rb:34:in `call' | |
actionpack (3.1.0.rc1) lib/action_dispatch/middleware/static.rb:53:in `call' | |
railties (3.1.0.rc1) lib/rails/rack/content_length.rb:16:in `call' | |
railties (3.1.0.rc1) lib/rails/engine.rb:438:in `call' | |
rack-test (0.6.0) lib/rack/mock_session.rb:30:in `request' | |
rack-test (0.6.0) lib/rack/test.rb:218:in `process_request' | |
rack-test (0.6.0) lib/rack/test.rb:114:in `request' | |
actionpack (3.1.0.rc1) lib/action_dispatch/testing/integration.rb:292:in `process' | |
actionpack (3.1.0.rc1) lib/action_dispatch/testing/integration.rb:39:in `post' | |
actionpack (3.1.0.rc1) lib/action_dispatch/testing/integration.rb:325:in `block (2 levels) in <module:Runner>' | |
test/integration/users_controller_test.rb:96:in `block in <class:UsersControllerTest>' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:157:in `run' | |
activesupport (3.1.0.rc1) lib/active_support/testing/setup_and_teardown.rb:35:in `block in run' | |
activesupport (3.1.0.rc1) lib/active_support/callbacks.rb:426:in `_run_setup_callbacks' | |
activesupport (3.1.0.rc1) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
activesupport (3.1.0.rc1) lib/active_support/testing/setup_and_teardown.rb:34:in `run' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:77:in `block (2 levels) in run_test_suites' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:69:in `each' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:69:in `block in run_test_suites' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:63:in `each' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:63:in `run_test_suites' | |
turn (0.8.2) lib/turn/autorun/minitest.rb:42:in `run' | |
minitest (2.2.1) lib/minitest/unit.rb:657:in `block in autorun'</code></pre> | |
</div> | |
</div> | |
<h2 style=\"margin-top: 30px\">Request</h2> | |
<p><b>Parameters</b>: <pre>{"format"=>"json", | |
"user"=>{"username"=>"user-name-1250346458", | |
"password"=>"[FILTERED]"}}</pre></p> | |
<p><a href=\"#\" onclick=\"document.getElementById('session_dump').style.display='block'; return false;\">Show session dump</a></p> | |
<div id=\"session_dump\" style=\"display:none\"><pre>warden.user.user.key: ["User", [244], "jwLxT9kcz3uFicTjjMkf"] | |
warden.user.user.session: {"last_request_at"=>2011-06-01 08:36:08 UTC}</pre></div> | |
<p><a href=\"#\" onclick=\"document.getElementById('env_dump').style.display='block'; return false;\">Show env dump</a></p> | |
<div id=\"env_dump\" style=\"display:none\"><pre>HTTP_ACCEPT: "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" | |
REMOTE_ADDR: "127.0.0.1" | |
SERVER_NAME: "www.example.com"</pre></div> | |
<h2 style=\"margin-top: 30px\">Response</h2> | |
<p><b>Headers</b>: <pre>None</pre></p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment