# File lib/action_view/helpers/date_helper.rb, line 286 def select_date(date = Date.current, options = {}, html_options = {}) options[:order] ||= [] [:year, :month, :day].each { |o| options[:order].push(o) unless options[:order].include?(o) } select_date = '' options[:order].each do |o| select_date << self.send("select_#{o}", date, options, html_options) end select_date end