# Combining Numerous Models Errors

**URL:** <https://www.ruby-forum.com/t/combining-numerous-models-errors/174414>\
**Category:** Rails\
**Created:** [August 26, 2009, 4:44pm UTC](https://www.ruby-forum.com/t/combining-numerous-models-errors/174414 "2009-08-26T16:44:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmckinstry](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f6c823/32.png) [@pmckinstry](https://www.ruby-forum.com/u/pmckinstry)\
**Post date:** [August 26, 2009, 4:44pm UTC](https://www.ruby-forum.com/t/combining-numerous-models-errors/174414/1 "2009-08-26T16:44:46Z")

</div>

Hi There,

I have a form which interacts with numerous models (which are all  
related). I use the validates\_associated to check that all the related  
models are valid - however that just displays a generic error saying  
that one of the related models is not valid.

Is there a correct rails way to create a single ‘error’ array of all  
models errors? I see several hand rolled attempts but surely this isn’t  
a unusual request?

Many thanks
