alex nesbitt
2006-Jan-04 07:15 UTC
[Rails] Multiple Record Form and Controller to update Multiple Models Example
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 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060104/b363d8b1/attachment.html