ActiveRecord::RecordNotFound in EventsController#show

can't find record with friendly id: "choucroute-organisee-par-le-comite-d-animation-le-22-fevrier-2020-20h00"

Extracted source (around line #35):
33
34
35
36
37
38
              
def find_event
@event = Event.friendly.find params[:event]
if params[:event] != @event.slug
return redirect_to event_path(@event.slug), status: :moved_permanently

Rails.root: /home/viennemoul/www

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"event"=>"choucroute-organisee-par-le-comite-d-animation-le-22-fevrier-2020-20h00"}

Response

Headers:

None