|
<!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; |
|
white-space: pre-wrap; |
|
} |
|
|
|
a { color: #000; } |
|
a:visited { color: #666; } |
|
a:hover { color: #fff; background-color:#000; } |
|
</style> |
|
</head> |
|
<body> |
|
|
|
<h1> |
|
ActiveRecord::StatementInvalid |
|
in RailsAdmin::MainController#show |
|
</h1> |
|
<pre>SQLite3::SQLException: no such column: articles.user_id: SELECT "articles".* FROM "articles" WHERE "articles"."user_id" = 2</pre> |
|
|
|
|
|
<p><code>Rails.root: /Users/jeffdickey/src/rails/beta1</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></code></pre> |
|
</div> |
|
<div id="Framework-Trace" style="display: none;"> |
|
<pre><code>vendor/ruby/1.9.1/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `initialize' |
|
vendor/ruby/1.9.1/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `new' |
|
vendor/ruby/1.9.1/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `prepare' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `block in exec_query' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log' |
|
vendor/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in `instrument' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/querying.rb:38:in `block in find_by_sql' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/explain.rb:40:in `logging_query_plan' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/querying.rb:37:in `find_by_sql' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation.rb:171:in `exec_queries' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation.rb:160:in `block in to_a' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/explain.rb:33:in `logging_query_plan' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation.rb:159:in `to_a' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation/finder_methods.rb:159:in `all' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/collection_association.rb:382:in `find_target' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/collection_association.rb:335:in `load_target' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/collection_proxy.rb:44:in `load_target' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/collection_proxy.rb:87:in `method_missing' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:112:in `set_pretty_method_name' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:34:in `initialize' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:10:in `new' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:10:in `block in from_exception' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:6:in `map' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:6:in `from_exception' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/error_page.rb:52:in `backtrace_frames' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:114:in `log_exception' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:87:in `rescue in protected_app_call' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:84:in `protected_app_call' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:79:in `better_errors_call' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:56:in `call' |
|
vendor/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' |
|
vendor/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in `call_app' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `block in call' |
|
vendor/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in `tagged' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `call' |
|
vendor/ruby/1.9.1/gems/quiet_assets-1.0.2/lib/quiet_assets.rb:18:in `call_with_quiet_assets' |
|
vendor/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in `call' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call' |
|
vendor/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in `call' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call' |
|
vendor/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/engine.rb:479:in `call' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/application.rb:223:in `call' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/log_tailer.rb:17:in `call' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:81:in `block in pre_process' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:79:in `catch' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:79:in `pre_process' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:54:in `process' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:39:in `receive_data' |
|
vendor/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine' |
|
vendor/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/backends/base.rb:63:in `start' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/server.rb:159:in `start' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:268:in `start' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/commands/server.rb:70:in `start' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:55:in `block in <top (required)>' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:50:in `tap' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:50:in `<top (required)>' |
|
script/rails:6:in `require' |
|
script/rails:6:in `<main>'</code></pre> |
|
</div> |
|
<div id="Full-Trace" style="display: none;"> |
|
<pre><code>vendor/ruby/1.9.1/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `initialize' |
|
vendor/ruby/1.9.1/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `new' |
|
vendor/ruby/1.9.1/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:91:in `prepare' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `block in exec_query' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log' |
|
vendor/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in `instrument' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/querying.rb:38:in `block in find_by_sql' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/explain.rb:40:in `logging_query_plan' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/querying.rb:37:in `find_by_sql' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation.rb:171:in `exec_queries' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation.rb:160:in `block in to_a' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/explain.rb:33:in `logging_query_plan' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation.rb:159:in `to_a' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation/finder_methods.rb:159:in `all' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/collection_association.rb:382:in `find_target' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/collection_association.rb:335:in `load_target' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/collection_proxy.rb:44:in `load_target' |
|
vendor/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/collection_proxy.rb:87:in `method_missing' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:112:in `set_pretty_method_name' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:34:in `initialize' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:10:in `new' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:10:in `block in from_exception' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:6:in `map' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/stack_frame.rb:6:in `from_exception' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/error_page.rb:52:in `backtrace_frames' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:114:in `log_exception' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:87:in `rescue in protected_app_call' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:84:in `protected_app_call' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:79:in `better_errors_call' |
|
vendor/ruby/1.9.1/gems/better_errors-0.7.2/lib/better_errors/middleware.rb:56:in `call' |
|
vendor/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' |
|
vendor/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in `call_app' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `block in call' |
|
vendor/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in `tagged' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `call' |
|
vendor/ruby/1.9.1/gems/quiet_assets-1.0.2/lib/quiet_assets.rb:18:in `call_with_quiet_assets' |
|
vendor/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in `call' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call' |
|
vendor/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in `call' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call' |
|
vendor/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/engine.rb:479:in `call' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/application.rb:223:in `call' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/log_tailer.rb:17:in `call' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:81:in `block in pre_process' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:79:in `catch' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:79:in `pre_process' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:54:in `process' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/connection.rb:39:in `receive_data' |
|
vendor/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine' |
|
vendor/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/backends/base.rb:63:in `start' |
|
vendor/ruby/1.9.1/gems/thin-1.5.0/lib/thin/server.rb:159:in `start' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run' |
|
vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:268:in `start' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/commands/server.rb:70:in `start' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:55:in `block in <top (required)>' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:50:in `tap' |
|
vendor/ruby/1.9.1/gems/railties-3.2.12/lib/rails/commands.rb:50:in `<top (required)>' |
|
script/rails:6:in `require' |
|
script/rails:6:in `<main>'</code></pre> |
|
</div> |
|
</div> |
|
|
|
|
|
|
|
<h2 style="margin-top: 30px">Request</h2> |
|
<p><b>Parameters</b>: <pre>{"model_name"=>"user", |
|
"id"=>"2"}</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>_csrf_token: "nF/zaqwrtmgg8GmXGj7jHCk0aRtFZkfvxKeN6XASAcQ=" |
|
session_id: "6242d07eaf3997af8ccf75a9228bf347" |
|
warden.user.user.key: ["User", [1], "$2a$10$SoCL1QSjR1EOf.hgl2wqhO"]</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>GATEWAY_INTERFACE: "CGI/1.2" |
|
HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" |
|
HTTP_ACCEPT_CHARSET: "ISO-8859-1,utf-8;q=0.7,*;q=0.3" |
|
HTTP_ACCEPT_ENCODING: "gzip,deflate,sdch" |
|
HTTP_ACCEPT_LANGUAGE: "en-GB,en-US;q=0.8,en;q=0.6" |
|
REMOTE_ADDR: "127.0.0.1" |
|
SERVER_NAME: "localhost" |
|
SERVER_PROTOCOL: "HTTP/1.1"</pre></div> |
|
|
|
|
|
<h2 style="margin-top: 30px">Response</h2> |
|
<p><b>Headers</b>: <pre>None</pre></p> |
|
|
|
|
|
|
|
</body> |
|
</html> |