ActiveRecord::RecordNotFound in ItemsController#show

Couldn't find Item with 'id'=21

Extracted source (around line #93):
91
92
93
94
95
96
              
# Use callbacks to share common setup or constraints between actions.
def set_item
@item = Item.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"21"}

Response

Headers:

None