NoMethodError in ProductsController#show

undefined method `title' for nil:NilClass

Extracted source (around line #17):
15
16
17
18
19
20
              
# GET /products/1.json
def show
@title = @product.title
@meta_keywords = @product.meta_keywords
@meta_description = @product.meta_description
end

Rails.root: /root/projects/clibearings

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"pId"=>"33",
 "id"=>"categorynew",
 "format"=>"aspx"}

Response

Headers:

None