Are you sure you want to open that can of worms LOL. Ok since you asked. The problem revolves around a many to many relationship.
Simply put I wan to mimic the hobo standard behavior of adding a child record to a parent that is done though the auto_actions_for in the child controller. Hobo will created the proper route if you add the auto_actions_for :model_a to say model_b of a many to many between model_a and model_b but dryml auto rapid forms don't work properly. The auto form falls apart on the <form owner="model_a" method="post" param> the owner param gives rapid a headache. So if I remove the owner param I can get the form to generate but then when the new model is saved it doesn't have the appropriate assocation back to model_a. Thus I'm looking to tuck model_a's id into an hidden field and then on the create method of model_b controller I can grab model_a via the hidden field and make the association. Hope that made some sense. Bob -- 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/-/0LujL9n-Vp8J. 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.
