Forum: Ruby on Rails validates_associated stops after first fail

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Peter M. (Guest)
on 2006-03-14 19:48
(Received via mailing list)
Hi,

I am using validates_associated to validate some child models. The
validation of the children stops after the first failed validation. i
would like to validate all the children so that errors for more than
one can be displayed in a form. Is there a way to do this without
looping through all the children?

Thanks,
Peter
This topic is locked and can not be replied to.