Hi I have a form with several nested forms (only two level) and I need to pass hidden_fields on the form and then to the nested model.
I can not seem to get the nested models to received the hidden form value.
With the top level form I am using hidden_form_tag and it is working fine (although it seems like maybe I should be using just hidden_field since it is in a "form_for").
With the nested form I have tried all sorts of things with hidden_field, hidden_field_tag and none of them seems to pass the value.
These values are in nested resources.. is there a better way to do this? I just need to take two ids from nested resources and make sure they get put into the nested model.
I appreciate any help. Thanks in advance.