Philip Hallstrom wrote:
>> I have created a scaffold, part of which was dob:date
>> 
>> When I view my web page under DOB, I have only the years listed from
>> 2005-2015. What should I do to enter older years?
> 
> See the docs for date_select (even if it's a datetime_select the same 
> options work).  Specifically:
> 
> :start_year - Set the start year for the year select. Default is 
> Time.now.year - 5.
> :end_year - Set the end year for the year select. Default is 
> Time.now.year + 5.

Thanks Philip.

I'm actually new to RoR. Where can I make this change?

Thanks.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to