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: undefined method `each' for nil:NilClass #950

Open
voodoorai2000 opened this issue Jan 25, 2022 · 0 comments
Open

Comments

@voodoorai2000
Copy link
Member

View details in Rollbar: https://rollbar.com/consul/Agendas/items/694/


NoMethodError: undefined method `each' for nil:NilClass
  File "/aytomad/app/agendas/agendas/releases/20220125130552/app/views/visitors/index.csv.erb", line 7, in block in _app_views_visitors_index_csv_erb__3238199276577394723_106118200
  File "/aytomad/app/agendas/.rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/csv.rb", line 1166, in generate
  File "/aytomad/app/agendas/agendas/releases/20220125130552/app/views/visitors/index.csv.erb", line 4, in _app_views_visitors_index_csv_erb__3238199276577394723_106118200
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/template.rb", line 145, in block in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb", line 164, in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/template.rb", line 337, in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/template.rb", line 143, in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/template_renderer.rb", line 54, in block (2 levels) in render_template
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/abstract_renderer.rb", line 39, in block in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb", line 164, in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/abstract_renderer.rb", line 39, in instrument
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/template_renderer.rb", line 53, in block in render_template
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/template_renderer.rb", line 61, in render_with_layout
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/template_renderer.rb", line 52, in render_template
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/template_renderer.rb", line 14, in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/renderer.rb", line 46, in render_template
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/renderer/renderer.rb", line 27, in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/rendering.rb", line 100, in _render_template
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/streaming.rb", line 217, in _render_template
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionview-4.2.11.3/lib/action_view/rendering.rb", line 83, in render_to_body
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb", line 32, in render_to_body
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/renderers.rb", line 37, in render_to_body
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/abstract_controller/rendering.rb", line 25, in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb", line 16, in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 44, in block (2 levels) in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/benchmark.rb", line 12, in block in ms
  File "/aytomad/app/agendas/.rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/benchmark.rb", line 308, in realtime
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/benchmark.rb", line 12, in ms
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 44, in block in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 87, in cleanup_view_runtime
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/railties/controller_runtime.rb", line 25, in cleanup_view_runtime
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 43, in render
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/wicked_pdf-2.1.0/lib/wicked_pdf/pdf_helper.rb", line 46, in call
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/wicked_pdf-2.1.0/lib/wicked_pdf/pdf_helper.rb", line 46, in render_with_wicked_pdf
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/wicked_pdf-2.1.0/lib/wicked_pdf/pdf_helper.rb", line 30, in render
  File "/aytomad/app/agendas/agendas/releases/20220125130552/app/controllers/visitors_controller.rb", line 44, in agenda
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/implicit_render.rb", line 4, in send_action
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb", line 198, in process_action
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb", line 10, in process_action
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/aytomad/app/agendas/agendas/shared/bundle/ruby/
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