Limit Months displayed select_date

I have the following code:

<%#= select_date(, :order => [:month, :day, :year ],
:datetime_separator => ‘-’, :time_separator => ‘:’, :discard_seconds =>
true, :discard_minutes => true, :start_month =>,
:end_month => + 1, :start_year =>,
:end_year =>, :prefix => ‘start_date’) %>

I’m trying to limit the number of months that a user can select, just
like start_year. However, month_start isn’t an option. Anyone know of
a work around? Is there another way besides select_date of
accomplishing this?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs