Multiple Record Form and Controller to update Multiple Model

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
out I posted it at:

It code creates an account with a user. It collects account name and
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,
love to know.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs