ActiveRecord::RecordNotFound in ProductsController#show

Couldn't find Product with 'id'=10037

Extracted source (around line #80):
78
79
80
81
82
83
              
# Use callbacks to share common setup or constraints between actions.
def set_product
@product = Product.includes(:category).find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.

Rails.root: /home/deploy/pke/offelia7

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"10037"}

Response

Headers:

None