Hi!
I''m new with ruby on rails.
I have a problem with validates_presence_of: it work too much!
It gives me error when the form is blank and when it is not blank too.
I simply put in my model this line:
validates_presence_of :title
(I am using the book of Dave Thomas and David Hansson, "Agile Web
Development with Rails".. chapter 6)
Do you know what the error can be?
Thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---