ActiveRecord::RecordNotFound in OrganizationsController#show

can't find record with friendly id: "Permanences"

Extracted source (around line #28):
26
27
28
29
30
31
              
def find_organization
@organization = Organization.friendly.find params[:organization]
if params[:organization] != @organization.slug
return redirect_to organization_path(@organization.slug), status: :moved_permanently

Rails.root: /home/viennemoul/www

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"organization"=>"Permanences"}

Response

Headers:

None