Forum: Rails deployment Limit Months displayed select_date

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C9e0d55c256143eb4a758c9411ef0c8d?d=identicon&s=25 Tyler Knappe (knappe)
on 2009-08-20 22:06
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 topic is locked and can not be replied to.