Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

ActionView::Template::Error: undefined method `>' for nil (ActionView::Template::Error) #134

Open
sentry-io bot opened this issue Mar 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 11, 2024

Sentry Issue: ADMIN-45

NoMethodError: undefined method `>' for nil (NoMethodError)

    select { |b| b.expires_at > DateTime.now }
                              ^
  app/models/broadcast.rb:3:in `block in unexpired'
    select { |b| b.expires_at > DateTime.now }
  app/models/broadcast.rb:3:in `unexpired'
    select { |b| b.expires_at > DateTime.now }
  app/views/layouts/admin.html.erb:37:
    <% Broadcast.unexpired.each do |b| %>
  app/views/layouts/application.html.erb:23:
    <%= yield_nested %>
...
(151 additional frame(s) were not displayed)

ActionView::Template::Error: undefined method `>' for nil (ActionView::Template::Error)

This issue was automatically created by Sentry via Error & File

@sentry-io sentry-io bot added the bug Something isn't working label Mar 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant