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: Object must be a Date, DateTime or Time object. nil given. #8259

Open
komagata opened this issue Dec 25, 2024 · 0 comments
Labels

Comments

@komagata
Copy link
Member

View details in Rollbar: https://app.rollbar.com/a/komagata/fix/item/Bootcamp/1766


NoMethodError: undefined method `l' for #<RegularEvent id: 57, user_id: 1678, title: "CODE COMPLETE 第2版 上 輪読会", description: "# 内容紹介\r\n\r\n本書は効果的なコンストラクションプラクティスについての知識を集めた、実践的なプロ...", finished: false, hold_national_holiday: true, start_at: "2000-01-01 21:00:00.000000000 +0900", end_at: "2000-01-01 22:00:00.000000000 +0900", wip: false, created_at: "2024-02-19 23:07:00.964553000 +0900", updated_at: "2024-02-19 23:30:18.067481000 +0900", category: "reading_circle", all: false, published_at: "2024-02-19 23:07:00.994772000 +0900", wants_announcement: nil>
  File "/usr/local/bundle/gems/activemodel-6.1.4.7/lib/active_model/attribute_methods.rb", line 469, in method_missing
  File "/usr/local/bundle/gems/active_decorator-1.4.1/lib/active_decorator/helpers.rb", line 7, in method_missing
  File "/app/app/decorators/regular_event_decorator.rb", line 18, in next_holding_date
  File "/app/app/views/regular_events/_regular_event_meta.html.slim", line 28, in _app_views_regular_events__regular_event_meta_html_slim___4506004915795911382_62880
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/base.rb", line 247, in public_send
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/base.rb", line 247, in _run
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 154, in block in render
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 205, in instrument
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 345, in instrument_render_template
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 152, in render
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/partial_renderer.rb", line 285, in block in render_partial_template
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in block in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications/instrumenter.rb", line 24, in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in instrument
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/partial_renderer.rb", line 280, in render_partial_template
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/partial_renderer.rb", line 271, in render
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/renderer.rb", line 81, in render_partial_to_object
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/renderer.rb", line 53, in render_partial
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/helpers/rendering_helper.rb", line 45, in render
  File "/app/app/views/regular_events/_regular_event.html.slim", line 45, in _app_views_regular_events__regular_event_html_slim__3860870172967043187_62800
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/base.rb", line 247, in public_send
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/base.rb", line 247, in _run
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 154, in block in render
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 205, in instrument
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 345, in instrument_render_template
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 152, in render
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/partial_renderer.rb", line 285, in block in render_partial_template
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in block in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications/instrumenter.rb", line 24, in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in instrument
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/partial_renderer.rb", line 280, in render_partial_template
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/partial_renderer.rb", line 271, in render
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/renderer.rb", line 81, in render_partial_to_object
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/renderer.rb", line 53, in render_partial
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/helpers/rendering_helper.rb", line 45, in render
  File "/app/app/views/regular_events/show.html.slim", line 42, in _app_views_regular_events_show_html_slim___542904581108074669_62740
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/base.rb", line 247, in public_send
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/base.rb", line 247, in _run
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 154, in block in render
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 205, in instrument
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 345, in instrument_render_template
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/template.rb", line 152, in render
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/template_renderer.rb", line 61, in block (2 levels) in render_template
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in block in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications/instrumenter.rb", line 24, in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in instrument
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/template_renderer.rb", line 56, in block in render_template
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/template_renderer.rb", line 71, in block in render_with_layout
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in block in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications/instrumenter.rb", line 24, in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in instrument
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/template_renderer.rb", line 70, in render_with_layout
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/renderer/template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant