Displaying 1 result from an estimated 1 matches for "_address_id".
Did you mean:
address_id
2006 Jul 21
0
Selecting customers and addresses in a form (was Getting joined collections on a form)
...ghlight
customer.rhtml
<%=
collection_select(: invoice, :address_id, @addresses, :id, :street,
{:include_blank => true},
{
:onchange => remote_function(:url => { :action => "get_address"},
:with => "'' invoice_address_id=''+ $F(''invoice _address_id'')")
})
%>
3) Next a similar pattern occurs for addresses...
Back we go to the controller with the action get_address and then render
address.rjs and then address.rhtml . It''s annoying because I have other
values to...