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