ActiveRecord::RecordNotFound in NewDesktop::PostsController#show

can't find record with friendly id: "what-is-the-first-thing-you-should-see-in-a-food-for-your-pet"

Extracted source (around line #10):
8
9
10
11
12
13
              
def show
@post=Post.find(params[:id])
redirect_to desktop_root_path and return if @post.is_hide?
redirect_to desktop_root_path and return unless @post.is_published
redirect_to desktop_project_path(@post) and return if @post.is_project?

Rails.root: /www/smple_io

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"what-is-the-first-thing-you-should-see-in-a-food-for-your-pet"}

Response

Headers:

None