Hi, I have a select tag as : <%= select(:feedbacks, :directedto , {"----Select One----"=>"none","Business contact"=>"Business Contact","Technical support"=>"Technical Support","Payment Help"=>"Payment Help"},{ :selected => "none"}, {:class=>"field", :style=>"width:192px;"}) %>
I want the select options in the drop down to appear in the same order as I have written them in the code.... But...this does not happen..and the options appear in any random order..!!!! Can anyone please help me..as to how should I sort my select options.. Thank you... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---