select_day (ActionView::Helpers::DateHelper)

    # File lib/action_view/helpers/date_helper.rb, line 449
          def select_day(date, options = {}, html_options = {})
            val = date ? (date.kind_of?(Fixnum) ? date : date.day) : ''
            if options[:use_hidden]
              hidden_html(options[:field_name] || 'day', val, options)
            else
              day_options = []
              1.upto(31) do |day|
                day_options << ((val == day) ?
                  content_tag(:option, day, :value => day, :selected => "selected") :
                  content_tag(:option, day, :value => day)
                )
                day_options << "\n"
              end
              select_html(options[:field_name] || 'day', day_options.join, options, html_options)
            end
          end