Only years from 2001 to 2011 are available in a date field

When I try to edit a date field in the drop down list I have only years
from 2001 to 2011: how can I add an arbitrary year that is NOT included
in this list?

The default is to have 5 years before and after the current year. there
is a way you can extend it. try reading chapter 17 in the agile web
development book.

On 5/24/06, fabio vitale [email protected] wrote:

When I try to edit a date field in the drop down list I have only years
from 2001 to 2011: how can I add an arbitrary year that is NOT included
in this list?

http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#M000479

Look at the options for select_year, specifically :start_year and
:end_year. select_date will accept these as well.

– James