hackclub / hackathons-backend

Powering https://hackathons.hackclub.com

Home Page:https://hackathons.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

undefined method `persisted?' for nil in DatabaseDumpsController#index

appsignal opened this issue · comments

Message

  undefined method `persisted?' for nil

Backtrace (last 10 lines)

actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:267 handle_model
actionpack/lib/action_dispatch/routing/polymorphic_routes.rb:281 handle_model_call
actionview/lib/action_view/routing_url_for.rb:119 url_for
actionview/lib/action_view/helpers/url_helper.rb:701 url_target
actionview/lib/action_view/helpers/url_helper.rb:204 link_to
app/views/database_dumps/index.html.erb:11
activerecord/lib/active_record/relation/delegation.rb:98 each
activerecord/lib/active_record/relation/delegation.rb:98 each
app/views/database_dumps/index.html.erb:10
actionview/lib/action_view/base.rb:264 public_send

View on AppSignal: https://appsignal.com/hack-club/sites/64dc848fd2a5e4d7b35c5ca2/exceptions/incidents/124