ruby on rails - nested forms with additional non-editable fields in child table -


My application has the parent and child's table with 'has_many' relationship.

Now I have

Some information about my environment: Rail 2.3.8, authlogic

Nested form is described as described in the tutorial (For Acceptable_Nested_AetAdit_) and it works fine. Additional area "user" (current user reference) to protect the creator of this new entry.

When I try to update this field in my parents' controller (the child on the Loop, assign the child to the user @nunner user), this is only on pre-existing child entries. Affects, but new entries are not.

I think this field is not editable due to security reasons (and therefore is not present in this form).

How can I solve this problem? Is this area not the right place to update?

Thank you in advance for your help!

Sorry to waste your time.

I have set the code to update the entries of children's tables in the wrong place.


Comments