Displaying 1 result from an estimated 1 matches for "person1_last_name".
2006 Feb 20
0
How to reference a field of an associated object in a text_field
...field.
It doesn''t seem to work for text fields, e.g. <%= text_field
("registration[people_ids][]", "last_name") %>
I have tried every variant of the incantation I could, and nothing
works.
Is my only hope to do
<%= text_field("registration", "person1_last_name") %>
<%= text_field("registration", "person2_last_name") %>
?
Any help on how to get a form to handle fields on related objects is
greatly appreciated.
Thanks
Bob Evans