This is a little pickle I'm in and I was hopping that one of you folks could help me
I'm trying to use this ROR call
but the states are sorted on the abbreviations, even though the actual states are displayedCode:<%= us_state_options_for_select(text) %>
so in html
I've got
Code:<option value="AK">Alaska</option> <option value="AL">Alabama</option> <option value="AR">Arkansas</option> <option value="AZ">Arizona</option> <option value="CA">California</option>
I want Arizona to come before Arkansas, Alabama before Alaska ... etc (as it should alphabetically) is this possible?




Bookmarks