Rails 2.3 has a good solution for multi model forms. But there is not much examples of how to use
Assume that we have a Book model which has one Author.
No special action is needed for
create method of BooksController, attr_accessible is not necessary for Book model. Just don’t forget to add the second parameter (
form_for and build your nested object (@book.build_author).