I have several select options on a form and was planning on using
options_for_select.
If I use the code below the options do not appear in order on the
form, I am not really
sure of the order they are appearing since it is not alphabetical
either.
<%= options_for_select({“Co-ed” => “Co-ed”, “Men” => “Men”, “Women”
=> “Women”, “Please select student body” => “None”}, “None”) %>
Would I be better off to use a traditional HTML tag and put
my options in the
order I want them to display?
For the record this is the order they display now on the form with
the code above:
Men
Please select student body
Co-ed
Women
Thanks!
-Scott