ActiveRecord::RecordNotFound in PostsController#show

can't find record with friendly id: "19-juin-concours-de-petanque-a-la-chapelle-mouliere"

Extracted source (around line #35):
33
34
35
36
37
38
              
def find_post
@post = Post.friendly.find params[:post]
if params[:post] != @post.slug
return redirect_to post_path(@post.slug), status: :moved_permanently

Rails.root: /home/viennemoul/www

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"post"=>"19-juin-concours-de-petanque-a-la-chapelle-mouliere"}

Response

Headers:

None