Form_for for nested objects

It doesn't appear that you can do that. But, the solution is to take care of the association in the create method.

See this example notice the use of a database transaction to properly handle the rollback: