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

ActionView::Template::Error: No route matches {:action=>"reset", :controller=>"legacy", :id=>nil}, missing required keys: [:id] #669

Closed
suninthesky opened this issue May 9, 2018 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@suninthesky
Copy link
Contributor

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


ActionController::UrlGenerationError: No route matches {:action=>"reset", :controller=>"legacy", :id=>nil}, missing required keys: [:id]
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 246, in raise_generation_error
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 216, in block in optimized_helper
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 231, in block in parameterize_args
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 228, in times
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 228, in parameterize_args
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 215, in optimized_helper
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 205, in call
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 323, in block (2 levels) in define_url_helper
  File "/app/app/views/legacy/fundraiser.html.haml", line 22, in _app_views_legacy_fundraiser_html_haml__2865010924625913764_69833555145960
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.2/lib/action_view/template.rb", line 157, in block in render
  File "/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 168, in instrument
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.2/lib/action_view/template.rb", line 352, in instrument_render_template
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.2/lib/action_view/template.rb", line 155, in render
  File "/app/vendor/bundle/ruby/2.4.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.4.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.4.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 166, in block in instrument
  File "/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
  File "/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 166, in instrument
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.2/lib/action_view/renderer/abstract_renderer.rb", line 41, in instrument
  File "/app/vendor/bundle/ruby/2.4.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.4.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.4.0/gems/actionview-5.1.2/lib/action_view/renderer/template_renderer.rb", line 50, in render_template
  File "/app/vendor/bundle/ruby/2.4.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.4.0/gems/scout_apm-2.1.26/lib/scout_apm/tracer.rb", line 35, in instrument
  File "/app/vendor/bundle/ruby/2.4.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.4.0/gems/actionview-5.1.2/lib/action_view/renderer/template_renderer.rb", line 14, in render
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.2/lib/action_view/renderer/renderer.rb", line 42, in render_template
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.2/lib/action_view/renderer/renderer.rb", line 23, in render
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.2/lib/action_view/rendering.rb", line 103, in _render_template
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/streaming.rb", line 217, in _render_template
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionview-5.1.2/lib/action_view/rendering.rb", line 83, in render_to_body
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/rendering.rb", line 52, in render_to_body
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/renderers.rb", line 141, in render_to_body
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/abstract_controller/rendering.rb", line 24, in render
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/rendering.rb", line 36, in render
  File "/app/vendor/bundle/ruby/2.4.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.4.0/gems/activesupport-5.1.2/lib/active_support/core_ext/benchmark.rb", line 12, in block in ms
  File "/app/vendor/ruby-2.4.1/lib/ruby/2.4.0/benchmark.rb", line 308, in realtime
  File "/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/core_ext/benchmark.rb", line 12, in ms
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 44, in block in render
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 87, in cleanup_view_runtime
  File "/app/vendor/bundle/ruby/2.4.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.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 43, in render
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/implicit_render.rb", line 33, in default_render
  File "/app/vendor/bundle/ruby/2.4.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.4.0/gems/actionpack-5.1.2/lib/abstract_controller/base.rb", line 186, in process_action
  File "/app/vendor/bundle/ruby/2.4.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.4.0/gems/actionpack-5.1.2/lib/action_controller/metal/rendering.rb", line 30, in process_action
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 131, in run_callbacks
  File "/app/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.2/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/app/vendor/
@suninthesky suninthesky added the bug Something isn't working label May 9, 2018
@suninthesky suninthesky added this to the Bugs milestone May 9, 2018
@suninthesky
Copy link
Contributor Author

Must be logged in to access legacy controller, i.e. before_action :ensure_logged_in

@suninthesky suninthesky modified the milestones: Bugs, v2.0.2 May 9, 2018
@suninthesky suninthesky added the 1 label May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant