How to display error messages in a multi-model form with transaction?
问题 Two models, Organization and User, have a 1:many relationship. I have a combined signup form where an organization plus a user for that organization get signed up. The problem I'm experiencing is: When submitting invalid information for the user, it renders the form again, as it should, but the error messages (such as "username can't be blank") for the user are not displayed. The form does work when valid information is submitted and it does display error messages for organization, just not