Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError: undefined method `defhead' for nil:NilClass #6

Open
abartov opened this issue Nov 5, 2013 · 0 comments
Open

NoMethodError: undefined method `defhead' for nil:NilClass #6

abartov opened this issue Nov 5, 2013 · 0 comments

Comments

@abartov
Copy link
Owner

abartov commented Nov 5, 2013

Check full details on Airbrake: #68946179

Backtrace:

```
[PROJECT_ROOT]/app/views/admin/changes.html.erb:7:in block in _app_views_admin_changes_html_erb___265307543_100094290
[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/relation/delegation.rb:6:in each
[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/relation/delegation.rb:6:in each
[PROJECT_ROOT]/app/views/admin/changes.html.erb:6:in _app_views_admin_changes_html_erb___265307543_100094290
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/template.rb:145:in block in render
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:125:in instrument
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/template.rb:143:in render
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:47:in block (2 levels) in render_template
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/abstract_renderer.rb:38:in block in instrument
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in block in instrument
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in instrument
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in instrument
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/abstract_renderer.rb:38:in instrument
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:46:in block in render_template
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:54:in render_with_layout
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:45:in render_template
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/template_renderer.rb:18:in render
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/renderer.rb:36:in render_template
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_view/renderer/renderer.rb:17:in render
[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:110:in _render_template
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/streaming.rb:225:in _render_template
[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:103:in render_to_body
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/renderers.rb:28:in render_to_body
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/compatibility.rb:50:in render_to_body
[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:88:in render
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/rendering.rb:16:in render
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:40:in block (2 levels) in render
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/core_ext/benchmark.rb:5:in block in ms
/home/bybe/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in realtime
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/core_ext/benchmark.rb:5:in ms
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:40:in block in render
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:83:in cleanup_view_runtime
[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/railties/controller_runtime.rb:24:in cleanup_view_runtime
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:39:in render
[PROJECT_ROOT]/app/controllers/admin_controller.rb:7:in changes
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/implicit_render.rb:4:in send_action
[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:167:in process_action
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/rendering.rb:10:in process_action
[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:18:in block in process_action
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:425:in _run__667822105__process_action__802793281__callbacks
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in __run_callback
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in run_callbacks
[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:17:in process_action
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/rescue.rb:29:in process_action
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:30:in block in process_action
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in block in instrument
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in instrument
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in instrument
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:29:in process_action
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/params_wrapper.rb:207:in process_action
[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/railties/controller_runtime.rb:18:in process_action
[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:121:in process
[GEM_ROOT]/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:45:in process
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal.rb:203:in dispatch
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal/rack_delegation.rb:14:in dispatch
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_controller/metal.rb:246:in block in action
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in dispatch
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:36:in call
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in each
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:601:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/best_standards_support.rb:17:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/etag.rb:23:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/head.rb:14:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/params_parser.rb:21:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/flash.rb:242:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/cookies.rb:341:in call
[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:64:in call
[GEM_ROOT]/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:28:in block in call
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in _run__998969147__call__76180222__callbacks
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in __run_callback
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in _run_call_callbacks
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in run_callbacks
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:27:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/remote_ip.rb:31:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in call
[GEM_ROOT]/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in call_app
[GEM_ROOT]/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in block in call
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in tagged
[GEM_ROOT]/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in call
[GEM_ROOT]/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call
[GEM_ROOT]/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/lock.rb:15:in call
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in fetch
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in lookup
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in call!
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call
[GEM_ROOT]/gems/railties-3.2.12/lib/rails/engine.rb:479:in call
[GEM_ROOT]/gems/railties-3.2.12/lib/rails/application.rb:223:in call
[GEM_ROOT]/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in method_missing
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/connection.rb:81:in block in pre_process
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/connection.rb:79:in catch
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/connection.rb:79:in pre_process
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/connection.rb:54:in process
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/connection.rb:39:in receive_data
[GEM_ROOT]/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in run_machine
[GEM_ROOT]/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in run
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/backends/base.rb:63:in start
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/server.rb:159:in start
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/controllers/controller.rb:86:in start
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/runner.rb:187:in run_command
[GEM_ROOT]/gems/thin-1.5.0/lib/thin/runner.rb:152:in run!
[GEM_ROOT]/gems/thin-1.5.0/bin/thin:6:in <top (required)>
[GEM_ROOT]/bin/thin:23:in load
[GEM_ROOT]/bin/thin:23:in <main>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant