ActiveRecord::RecordNotFound in PostsController#show

Couldn't find Work with 'id'=62
Extracted source (around line #108):
106
107
108
109
110
111
              
# Use callbacks to share common setup or constraints between actions.
def set_work
@work = Work.find(params[:id])
end
# Only allow a list of trusted parameters through.

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"62"}

Response

Headers:

None