Hi, I'm having some problem with getting collection_select to return
the current 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).
Hi, I'm having some problem with getting collection_select to return
the current 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).
Your instance variables is called @drivers, so the first parameter to
collection_select must match, i.e. be :drivers (although in this case
it looks like it would make more sense o rename the instance variable
to @driver