Forum: Rails deployment Limit Months displayed select_date

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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(Time.now, :order => [:month, :day, :year ],
:datetime_separator => '-', :time_separator => ':', :discard_seconds =>
true, :discard_minutes => true, :start_month => Time.now.month.to_i,
:end_month => Time.now.month.to_i + 1, :start_year => Time.now.year,
:end_year => Time.now.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?

Thanks
This topic is locked and can not be replied to.