ActiveRecord::RecordNotFound in WebController#web_brand

Couldn't find Brand with id=HARRYS 1982

Extracted source (around line #638):
636
637
638
639
640
641
          
#@brand = Brand.where(:name => params[:brand]).first
@brand = Brand.find(params[:id])
@brand_photos = @brand.brand_photos
#@products = Product.where(:brand_name => params[:brand])
@products = Product.where(:brand_name => @brand.name).where(:hidden => 0)

Rails.root: /var/www/vhosts/14oz.es/14oz

Application Trace | Framework Trace | Full Trace
app/controllers/web_controller.rb:638:in `web_brand'

Request

Parameters:

{"id"=>"HARRYS 1982"}

Response

Headers:

None