ActionView::Template::Error: undefined method `title' for nil:NilClass
voodoorai2000 opened this issue · comments
View details in Rollbar: https://rollbar.com/consul/Agendas/items/665/
NoMethodError: undefined method `title' for nil:NilClass
File "/aytomad/app/agendas/agendas/releases/20211126111441/app/views/visitors/show.html.erb", line 59, in block in _app_views_visitors_show_html_erb___3742113863559028589_95268640
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb", line 46, in each
File "/aytomad/app/agendas/agendas/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.11.3/lib/active_record/relation/delegation.rb", line 46, in each
File "/aytomad/app/agendas/agendas/releases/20211126111441/app/views/visitors/show.html.erb", line 54, in _app_views_visitors_show_html_erb___3742113863559028589_95268640
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/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/implicit_render.rb", line 10, in default_render
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 5, 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", l