I have this helper for my user class:
<%= f.select :sex, options_for_select([['Male', 0], ['Female', 1], ['Other', 2], ['Undefined', 3]]), {}, {class:"form-control"} %>
When I load the form, everything is filled out except the :sex value. It defaults to the first.