Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

undefined local variable or method `db_during_render' #1220

Closed
slbug opened this Issue May 22, 2011 · 1 comment

Comments

Projects
None yet
3 participants
Contributor

slbug commented May 22, 2011

Appears after commit 60b55ba

/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activerecord/lib/active_record/railties/controller_runtime.rb:26:in `cleanup_view_runtime'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/abstract_controller/base.rb:167:in `process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/callbacks.rb:416:in `_run__548827729508408665__process_action__3169742628848342379__callbacks'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/notifications.rb:55:in `block in instrument'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/notifications.rb:55:in `instrument'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/params_wrapper.rb:202:in `process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/rescue.rb:17:in `process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/abstract_controller/base.rb:121:in `process'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/abstract_controller/rendering.rb:45:in `process'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal.rb:193:in `dispatch'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_controller/metal.rb:236:in `block in action'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/routing/route_set.rb:65:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/routing/route_set.rb:29:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-mount-cb252d9afdbd/lib/rack/mount/route_set.rb:152:in `block in call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-mount-cb252d9afdbd/lib/rack/mount/code_generation.rb:93:in `block in recognize'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-mount-cb252d9afdbd/lib/rack/mount/code_generation.rb:75:in `optimized_each'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-mount-cb252d9afdbd/lib/rack/mount/code_generation.rb:92:in `recognize'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-mount-cb252d9afdbd/lib/rack/mount/route_set.rb:141:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/routing/route_set.rb:531:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-54f1526928a5/lib/sass/plugin/rack.rb:54:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/etag.rb:23:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/conditionalget.rb:25:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/flash.rb:243:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/session/abstract/id.rb:195:in `context'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/session/abstract/id.rb:190:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/cookies.rb:321:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activerecord/lib/active_record/query_cache.rb:54:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activerecord/lib/active_record/identity_map.rb:152:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/reloader.rb:68:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/sendfile.rb:102:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/railties/lib/rails/rack/logger.rb:13:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/methodoverride.rb:24:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/runtime.rb:17:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/lock.rb:34:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/actionpack/lib/action_dispatch/middleware/static.rb:53:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/railties/lib/rails/rack/content_length.rb:16:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/railties/lib/rails/engine.rb:438:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-8c19ebe5539f/railties/lib/rails/rack/log_tailer.rb:14:in `call'
/home/bug/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-a976537cd013/lib/rack/handler/webrick.rb:59:in `service'
/home/bug/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/bug/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/bug/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Member

arunagw commented May 23, 2011

Reverted here

ba3ea9c

@NZKoz NZKoz closed this May 23, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment