# Error\_messages\_for in 1 to many

**URL:** <https://www.ruby-forum.com/t/error-messages-for-in-1-to-many/111312>\
**Category:** Rails\
**Created:** [August 5, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/error-messages-for-in-1-to-many/111312 "2007-08-05T18:12:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gamafranco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9adbd/32.png) [@gamafranco](https://www.ruby-forum.com/u/gamafranco)\
**Post date:** [August 5, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/error-messages-for-in-1-to-many/111312/1 "2007-08-05T18:12:03Z")

</div>

Hi,

I’m currently developing a form for an object and its associated objects  
(1 to many).

With the function error\_messages\_for I can display the errors of the  
object and if the associate objects have errors. Unfortunately  
error\_messages\_for does identify which associate object has the errors.  
Is there a work around for error\_messages\_for?

Thanks.
