search for: spouse_nam

Displaying 1 result from an estimated 1 matches for "spouse_nam".

Did you mean: spouse_name
2006 Jan 13
5
Form field naming semantics question
...son class there is a link to another Person object (ie: spouse) Is it possible to name the form fields such that the columns encapsulated by the spouse reference will be automatically captured as well? What I''m trying to express is something like.. <p><label for="person.spouse_name">Spouse''s Name><br/> <%= text_field ''person.spouse'', ''name'' %></p> What I''m trying to accomplish here is when you pass the whole params[:person] to the constructor on the Person class, it will also be able to se...