17 Nov 2012, 11:57
Generic-user-small

Alfredo Barrero (1 post)

Hi guys, I’m new in RoR. I was launching my first database and I had this error.

You know where’s the error?.

Thanks.

/product.rb:2: syntax error, unexpected $undefined, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END attr_accessible :\, :description, :image_urk, :price, :title

This is the content of products.rb:

class Product < ActiveRecord::Base attr_accessible :\, :description, :image_urk, :price, :title end

  You must be logged in to comment