Forum: Ruby on Rails Combining validation error messages

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
alyoshka (Guest)
on 2008-12-31 10:28
(Received via mailing list)
I used Ryan B.' Railscasts episodes 73-75 to build forms with
dynamic added models in complex forms. Everything works great, but
displaying validation errors are a big mess since it displays it's own
box for each individual error, including an error for each invalid
child record in the parent box.

How can I group the errors to display in one box for all the
dynamically added models and the main model?
I found this solution, but it doesn't really work for dynamically
added models and looks super ugly if you try to use it with Ryan B.
style forms:

<%= error_messages_for :every, :single, :model %>
This topic is locked and can not be replied to.