I got it to work using: <select class="monthSelect" id="order_month" name="order[month]"> <%= options_for_select(1..12, Time.now.month.to_i) %> </select>
Just curious, though, is that the only way to add a css class to that type of thing? -- 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 -~----------~----~----~----~------~----~------~--~---

