Wednesday, April 6, 2011

date_select Ruby

How do I extend the range of the date_select in Ruby?

It only goes as far as 2005 and I'd like to use it for the date of birth.

From stackoverflow
  • You can use the :start_year option, see the documentation.

    Lily : Thanks very much!

0 comments:

Post a Comment