Displaying 1 result from an estimated 1 matches for "seamn".
Did you mean:
sean
2006 May 24
3
Real life use of multiple linked models in the same view
...on that should work like:
<%= text_field ''contact.office_phone'', ''value'' %></p>
Why to have other calling method than usual dot? the [] are not even permitted by the W3C standard.
There is a patch at http://dev.rubyonrails.org/ticket/2053 but nobody seamns to give it some credit. It''s 9 month old!!
The parameters are putted in a nested hash. The question is why the above code doesn''t work on submission of the form.
The error reported is "Phone expected, got HashWithIndifferentAccess"
Parameters: {"commit"=>...