ActiveRecord::RecordNotFound in OffersController#show

Couldn't find Offer with 'id'=14

Extracted source (around line #77):
75
76
77
78
79
80
              
# Use callbacks to share common setup or constraints between actions.
def set_offer
@offer = Offer.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.

Rails.root: /home/rails/PoltavNeft

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"14"}

Response

Headers:

None