Displaying 1 result from an estimated 1 matches for "calldriv".
Did you mean:
calldei
2008 Jan 12
1
Collection_Select not showing Selected option
...lt;td>Product Line</td>
<td><%= @drivers.product_line.name %></td> # Troubleshooting only
<td><%=
collection_select(:driver,"product_line_id",@productline,:id,:name)
%></td>
</tr>
###
The controller;
###
def driver_edit
@drivers = CallDriver.find(params[:id])
@productline = ProductLine.find(:all)
end
###
And the debug results for CallDriver
--- &id001 !ruby/object:CallDriver
attributes:
name: Billing (TV)
segment_id: "1"
platform_id: "1"
updated_at:
product_line_id: "3"
id: "2&quo...