I've got a form with the following selection list:
<th>Unit Size</th>
<td><%= f.select :unit_size, options_for_select((1..@foo.bar.bar_type.usize)), {selected: @foo.unit_size} %></td>
No matter what foo.unit_size is in the DB, the form always has '1' selected in the dropdown.