ActiveRecord::RecordNotFound in SubdisciplinesController#show

can't find record with friendly id: "index-portfolio-2"

Extracted source (around line #98):
96
97
98
99
100
101
              
# Use callbacks to share common setup or constraints between actions.
def set_subdiscipline
@subdiscipline = Subdiscipline.friendly.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"=>"index-portfolio-2",
 "format"=>"html"}

Response

Headers:

None