I\'m in an app that is on Rails 2.3.8, and need to return an array of month names and numbers to be plugged into an options_for_select statement. What I\'ve got so far is kind
Try this!
@months = [['-', '']] (1..12).each {|m| @months << [Date::MONTHNAMES[m], m]}