TechforgoodCAST / beehive-giving

A free funding suitability checking tool
https://www.beehivegiving.org
MIT License
2 stars 2 forks source link

ActionView::Template::Error: undefined method `name' for nil:NilClass #804

Closed suninthesky closed 5 years ago

suninthesky commented 5 years ago

View details in Rollbar: https://rollbar.com/beehive-giving/beehive-giving/items/275/



NoMethodError: undefined method `name' for nil:NilClass
  File "/app/app/views/votes/new.html.haml", line 6, in _app_views_votes_new_html_haml___2444685278691838501_47051107146620
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/template.rb", line 157, in block in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 168, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/template.rb", line 352, in instrument_render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/template.rb", line 155, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/template_renderer.rb", line 52, in block (2 levels) in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/abstract_renderer.rb", line 42, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 166, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 166, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/abstract_renderer.rb", line 41, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/template_renderer.rb", line 51, in block in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/template_renderer.rb", line 59, in render_with_layout
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/template_renderer.rb", line 50, in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.1.26/lib/scout_apm/tracer.rb", line 72, in block in render_template_with_scout_instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.1.26/lib/scout_apm/tracer.rb", line 35, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.1.26/lib/scout_apm/tracer.rb", line 68, in render_template_with_scout_instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/template_renderer.rb", line 14, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/renderer.rb", line 42, in render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/renderer/renderer.rb", line 23, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/rendering.rb", line 103, in _render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/streaming.rb", line 217, in _render_template
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/rendering.rb", line 83, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/rendering.rb", line 52, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/renderers.rb", line 141, in render_to_body
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/abstract_controller/rendering.rb", line 24, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/rendering.rb", line 36, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 44, in block (2 levels) in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/core_ext/benchmark.rb", line 12, in block in ms
  File "/app/vendor/ruby-2.5.3/lib/ruby/2.5.0/benchmark.rb", line 308, in realtime
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/core_ext/benchmark.rb", line 12, in ms
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 44, in block in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 87, in cleanup_view_runtime
  File "/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.2/lib/active_record/railties/controller_runtime.rb", line 29, in cleanup_view_runtime
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 43, in render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/implicit_render.rb", line 33, in default_render
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/basic_implicit_render.rb", line 4, in block in send_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/basic_implicit_render.rb", line 4, in tap
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/basic_implicit_render.rb", line 4, in send_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/abstract_controller/base.rb", line 186, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.1.26/lib/scout_apm/instruments/action_controller_rails_3_rails4.rb", line 68, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/rendering.rb", line 30, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 131, in run_callbacks
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/rescue.rb", line 20, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 166, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 166, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 30, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/params_wrapper.rb", line 252, in pro