Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: validates_presence_of generates syntax error
Damian Terentyev
1/29/2007 7:16:00 AM
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-...
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
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: validates_presence_of generates syntax error
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password