ActiveRecord::RecordNotFound in ProductsController#show

can't find record with friendly id: "echafaudage-roulant-7m-hauteur-de-travail"

Extracted source (around line #94):
92
93
94
95
96
              
def find_product_by_name
@product = Product.friendly.find(params[:slug])
end
end

Rails.root: /www/from_zip/loxam-app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"slug"=>"echafaudage-roulant-7m-hauteur-de-travail"}

Response

Headers:

None