# Multiple Record Form and Controller to update Multiple Model

**URL:** <https://www.ruby-forum.com/t/multiple-record-form-and-controller-to-update-multiple-model/56151>\
**Category:** Rails\
**Created:** [January 4, 2006, 8:17am UTC](https://www.ruby-forum.com/t/multiple-record-form-and-controller-to-update-multiple-model/56151 "2006-01-04T08:17:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_nesbitt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@alex\_nesbitt](https://www.ruby-forum.com/u/alex_nesbitt)\
**Post date:** [January 4, 2006, 8:17am UTC](https://www.ruby-forum.com/t/multiple-record-form-and-controller-to-update-multiple-model/56151/1 "2006-01-04T08:17:36Z")

</div>

I couldn’t find any examples of how to create a multiple record form and  
controller for updating multiple models from one form. Once I figured  
it  
out I posted it at:  
[http://thebitt.blogspot.com/2006/01/multiple-record-forms-for-ruby-on.html](http://thebitt.blogspot.com/2006/01/multiple-record-forms-for-ruby-on.html)

It code creates an account with a user. It collects account name and  
user  
information and then updates both account and user models.

I still don’t know how to grab the validation error messages so I can  
consolidate them into one message for the user. If anyone knows how,  
I’d  
love to know.

thanks  
Alex
