I've got a constant of difficulty levels in my 'Tutorial' model which is
a hash of
DIFFICULTIES = {"Beginner" => 1, "Intermediate" => 2, "Advanced" => 3}
However when I pass it to my options_for_select helper they appear in a
completely different order. Is there any way to keep them in the correct
order?
Also is this the best way to keep a small list like this that isn't
related to a database table?
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---