Displaying 1 result from an estimated 1 matches for "product_line".
2008 Jan 12
1
Collection_Select not showing Selected option
...rent value when editing a record. According to everything I''ve
seen, there was an issue but it''s been fixed, but I can''t figure out
why it isn''t returning the current value as a selected option. I''ve
checked the table structures, and both the call_driver.product_line_id
and the product_line.id are int(11).
What am I missing?
Here''s the code;
###
<tr>
<td>Product Line</td>
<td><%= @drivers.product_line.name %></td> # Troubleshooting only
<td><%=
collection_select(:driver,"product_line_id",...