In order for the create action to handle multiple models they have to be related to a single original model and have the :accessible => true flag on the association.
For it to work as an ajax editor, you'd need individual editor calls on each field (plus I think the way you're using table might be throwing off the implicit context). But, an in place editor won't work on an unsaved object or possibly worse, will have the possibility of setting up orphaned records (go to new form, main object unsaved, children unsaved, make edit to child, child now saved, leave new form, no main object). I would guess you either want these as accessible associations or you'll need a two step process where you do the new object first, then have the sub-items setup on a second page, like the show view. The accessible association is by far the more common pattern -> http://cookbook.hobocentral.net/manual/multi_model_forms. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/-GFpDitcgzEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
