There's a lovely method in form_helper.rb that is wrong in so many ways. It has a non-standard method definition (empty paretheses), it's not called by any other helper, it's untested, it has it's own constant DEFAULT_DATE_OPTIONS that's is unused elsewhere and best of all it's completely broken - It calls methods that don't exist.
Here it is:
def to_date_tag()
defaults = DEFAULT_DATE_OPTIONS.dup
date = value(object) || Date.today
options = Proc.new { |position| defaults.merge(:prefix => "#{@object_name}[#{@method_name}(#{position}i)]") }
html_day_select(date, options.call(3)) +
html_month_select(date, options.call(2)) +
html_year_select(date, options.call(1))
end
And by applying the attached patch we can make it go away!