From: Threeeyedfish Date: 2007-01-29T16:15:40+09:00 Subject: Re: validates_presence_of generates syntax error On Jan 28, 2007, at 15:35, libsfan01 wrote: > hi all Hi! > PLEASE HELP!! First of all, make sure you are aware of the existence of Ruby on Rails mailing list that is more specialised and dedicated to answering questions concerning Rails Framework and not Ruby in general. You can find it at Google Groups: http://groups.google.com/group/rubyonrails-talk?hl=en Using Rails 1.2.1 I tried to create your model and add exactly the same syntax class Product < ActiveRecord::Base validates_presence_of :title, :description, :image_url end and I've got no errors at all. Maybe there's a problem in your Ruby or Rails installation or some weird non-printed characters in the file??? Your sincerely, Damian/Three-eyed Fish