Forum: Ruby on Rails ActionView::Helpers::InstanceTag#to_date_tag help

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
82e01981fb1270c0a54c544f9af342c5?d=identicon&s=25 John Devine (Guest)
on 2007-01-27 02:35
(Received via mailing list)
I'm trying to read through the code, hoping to find a way to custom
style select boxes for a date_select and can't figure out this code.
Any help appreciated:

      def to_date_tag()
        defaults = DEFAULT_DATE_OPTIONS.dup
        date     = value(object) ||
        options  = { |position| defaults.merge(:prefix =>
"#{@object_name}[#{@method_name}(#{position}i)]") }
        html_day_select(date, +
        html_month_select(date, +

Specifically, where are html_day_select, html_month_select, and
html_year_select defined? Is there a method_missing definition that I'm
not finding that's handling these calls?
This topic is locked and can not be replied to.