[Rails] Re: Problem with validates_associated and validates_presence_of
Just in case anybody faces this problem: I solved it by using
"validates_associated" to validate the presence of associations. Using
"validates_presence_of" for this purpose gave me the same problems as
the original poster.
Anjan
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home