Hi, I'm fairly new to Hobo and have a question that might have a simple answer:
I'm trying to use select-one-editor, the Ajax select menu for a belongs_to association. It works when updating an existing association but not when adding one on the new page of the child. When I select a parent, the spinner appears but it doesn't update the part I specified, and when I click the create button, it resets the parent to nil and I get back a validation error that the parent record can't be empty. From what I understand, the problem is that the child record is not yet saved in the db, however the parent record is. Maybe I need to prepare something in the controller first? or some hidden id field? I have noticed in the recipes that the non-Ajax select-one is usually Ajaxified and used instead, any reason for doing this rather than use the Ajax editor? thanks sam -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. 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.
