select_day (ActionView::Helpers::DateHelper)

    # File lib/action_view/helpers/date_helper.rb, line 432
          def select_day(date, 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) ?
                  %(<option value="#{day}" selected="selected">#{day}</option>\n) :
                  %(<option value="#{day}">#{day}</option>\n)
                )
              end
              select_html(options[:field_name] || 'day', day_options, options)
            end
          end