Created
May 15, 2010 06:07
-
-
Save anildigital/2cc2371975ade98b85e5 to your computer and use it in GitHub Desktop.
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
for controller code (app/controllers/subitems_controller.rb) | |
class SubitemsController < ApplicationController | |
def index | |
@subitems = Item.first.subitems | |
end | |
end | |
and view code (app/views/subitems/index.html.erb) | |
<h1>Subitems#index</h1> | |
<%= Boum.new %> | |
When you hit http://localhost:3000/subitems/index for the first time | |
You get properly formatted exception page, with following in the development log | |
Started GET "/subitems/index" for 127.0.0.1 at 2010-05-15 11:29:54 | |
Processing by SubitemsController#index as HTML | |
[1m[36mSQL (0.6ms)[0m [1m SELECT name | |
FROM sqlite_master | |
WHERE type = 'table' AND NOT name = 'sqlite_sequence' | |
[0m | |
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items" LIMIT 1 | |
Rendered subitems/index.html.erb within layouts/application (8.6ms) | |
Completed in 63ms | |
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Boum): | |
1: <h1>Subitems#index</h1> | |
2: <%= Boum.new %> | |
/Users/anil/Code/rails/boum/app/views/subitems/index.html.erb:2:in `_render_template__29821_2207887740_0' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/template.rb:46:in `send' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/template.rb:46:in `render' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `__send__' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `instrument' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/template.rb:44:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/render/rendering.rb:58:in `_render_template' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `__send__' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `instrument' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/render/rendering.rb:55:in `_render_template' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/render/rendering.rb:25:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:113:in `_render_template' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:107:in `render_to_body' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/renderers.rb:47:in `render_to_body' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/compatibility.rb:55:in `render_to_body' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:100:in `render_to_string' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:91:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/rendering.rb:17:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/benchmark.rb:308:in `realtime' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:77:in `cleanup_view_runtime' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:38:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/base.rb:144:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/rendering.rb:11:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `__send__' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `instrument' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:28:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/callbacks.rb:18:in `process_action' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:433:in `_run__1308338158__process_action__199225275__callbacks' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:404:in `send' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:404:in `_run_process_action_callbacks' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:88:in `send' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:88:in `run_callbacks' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/rescue.rb:8:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/base.rb:113:in `process' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:39:in `process' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal.rb:84:in `dispatch' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal.rb:124 | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/routing/route_set.rb:26:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/routing/route_set.rb:26:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/route_set.rb:148:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:89:in `recognize' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:66:in `optimized_each' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:88:in `recognize' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/route_set.rb:139:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/routing/route_set.rb:454:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/flash.rb:167:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb:107:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/cookies.rb:202:in `call' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/query_cache.rb:31:in `call' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/query_cache.rb:11:in `cache' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/query_cache.rb:30:in `call' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:365:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `call' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_call_callbacks' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:88:in `send' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:88:in `run_callbacks' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/sendfile.rb:105:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:48:in `call' | |
/Users/anil/Code/rails/rails/railties/lib/rails/rack/logger.rb:13:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/runtime.rb:17:in `call' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/static.rb:30:in `call' | |
/Users/anil/Code/rails/rails/railties/lib/rails/application.rb:132:in `call' | |
/Users/anil/Code/rails/rails/railties/lib/rails/application.rb:81:in `send' | |
/Users/anil/Code/rails/rails/railties/lib/rails/application.rb:81:in `method_missing' | |
/Users/anil/Code/rails/rails/railties/lib/rails/rack/log_tailer.rb:15:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/handler/webrick.rb:48:in `service' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:162:in `start' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:95:in `start' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:92:in `each' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:92:in `start' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:23:in `start' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:82:in `start' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/handler/webrick.rb:14:in `run' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/server.rb:155:in `start' | |
/Users/anil/Code/rails/rails/railties/lib/rails/commands/server.rb:62:in `start' | |
/Users/anil/Code/rails/rails/railties/lib/rails/commands.rb:30 | |
/Users/anil/Code/rails/rails/railties/lib/rails/commands.rb:27:in `tap' | |
/Users/anil/Code/rails/rails/railties/lib/rails/commands.rb:27 | |
script/rails:9:in `require' | |
script/rails:9 | |
Rendered /Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) | |
[1m[36mSubitem Load (0.4ms)[0m [1mSELECT "subitems".* FROM "subitems" WHERE ("subitems".item_id = 1)[0m | |
Rendered /Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (8.1ms) | |
Rendered /Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.1ms) | |
When you refresh the page http://localhost:3000/subitems/index again .. | |
You see | |
500 Internal Server Error | |
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong. | |
on the page | |
and following in the development.log | |
Started GET "/subitems/index" for 127.0.0.1 at 2010-05-15 11:32:24 | |
Processing by SubitemsController#index as HTML | |
[1m[35mItem Load (0.5ms)[0m SELECT "items".* FROM "items" LIMIT 1 | |
Rendered subitems/index.html.erb within layouts/application (5.5ms) | |
Completed in 26ms | |
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Boum): | |
1: <h1>Subitems#index</h1> | |
2: <%= Boum.new %> | |
/Users/anil/Code/rails/boum/app/views/subitems/index.html.erb:2:in `_render_template__29821_2205032460_0' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/template.rb:46:in `send' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/template.rb:46:in `render' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `__send__' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `instrument' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/template.rb:44:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/render/rendering.rb:58:in `_render_template' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `__send__' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `instrument' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/render/rendering.rb:55:in `_render_template' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_view/render/rendering.rb:25:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:113:in `_render_template' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:107:in `render_to_body' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/renderers.rb:47:in `render_to_body' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/compatibility.rb:55:in `render_to_body' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:100:in `render_to_string' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:91:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/rendering.rb:17:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/benchmark.rb:308:in `realtime' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:77:in `cleanup_view_runtime' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:38:in `render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/base.rb:144:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/rendering.rb:11:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `__send__' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/notifications.rb:48:in `instrument' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/instrumentation.rb:28:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/callbacks.rb:18:in `process_action' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:433:in `_run__1308338158__process_action__199225275__callbacks' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:404:in `send' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:404:in `_run_process_action_callbacks' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:88:in `send' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:88:in `run_callbacks' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/rescue.rb:8:in `process_action' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/base.rb:113:in `process' | |
/Users/anil/Code/rails/rails/actionpack/lib/abstract_controller/rendering.rb:39:in `process' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal.rb:84:in `dispatch' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_controller/metal.rb:124 | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/routing/route_set.rb:26:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/routing/route_set.rb:26:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/route_set.rb:148:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:89:in `recognize' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:66:in `optimized_each' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/code_generation.rb:88:in `recognize' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-mount-0.6.3/lib/rack/mount/route_set.rb:139:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/routing/route_set.rb:454:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/flash.rb:167:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb:107:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/cookies.rb:202:in `call' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/query_cache.rb:31:in `call' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/query_cache.rb:11:in `cache' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/query_cache.rb:30:in `call' | |
/Users/anil/Code/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:365:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `call' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_call_callbacks' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:88:in `send' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/callbacks.rb:88:in `run_callbacks' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/sendfile.rb:105:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:48:in `call' | |
/Users/anil/Code/rails/rails/railties/lib/rails/rack/logger.rb:13:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/runtime.rb:17:in `call' | |
/Users/anil/Code/rails/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call' | |
/Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/static.rb:30:in `call' | |
/Users/anil/Code/rails/rails/railties/lib/rails/application.rb:132:in `call' | |
/Users/anil/Code/rails/rails/railties/lib/rails/application.rb:81:in `send' | |
/Users/anil/Code/rails/rails/railties/lib/rails/application.rb:81:in `method_missing' | |
/Users/anil/Code/rails/rails/railties/lib/rails/rack/log_tailer.rb:15:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/handler/webrick.rb:48:in `service' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:162:in `start' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:95:in `start' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:92:in `each' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:92:in `start' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:23:in `start' | |
/Users/anil/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/webrick/server.rb:82:in `start' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/handler/webrick.rb:14:in `run' | |
/Users/anil/.rvm/gems/ruby-1.8.7-p249/gems/rack-1.1.0/lib/rack/server.rb:155:in `start' | |
/Users/anil/Code/rails/rails/railties/lib/rails/commands/server.rb:62:in `start' | |
/Users/anil/Code/rails/rails/railties/lib/rails/commands.rb:30 | |
/Users/anil/Code/rails/rails/railties/lib/rails/commands.rb:27:in `tap' | |
/Users/anil/Code/rails/rails/railties/lib/rails/commands.rb:27 | |
script/rails:9:in `require' | |
script/rails:9 | |
Rendered /Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) | |
Rendered /Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.8ms) | |
Rendered /Users/anil/Code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.9ms) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment