ActiveRecord::RecordNotFound in PostsController#show

can't find record with friendly id: "l-espac-ados-f8c7631a-91a0-4f9a-9618-f635caf4c5f9"

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"=>"l-espac-ados-f8c7631a-91a0-4f9a-9618-f635caf4c5f9"}

Response

Headers:

None