Forum: Rails deployment Limit Months displayed select_date

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.