Forum: Ruby on Rails Multiple Record Form and Controller to update Multiple Model

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.
alex nesbitt (Guest)
on 2006-01-04 09:17
(Received via mailing list)
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-recor...

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
This topic is locked and can not be replied to.