    # File lib/action_view/helpers/date_helper.rb, line 189
          def select_month(date, options = {})
            month_options = []
            month_names = options[:use_short_month] ? Date::ABBR_MONTHNAMES : Date::MONTHNAMES

            1.upto(12) do |month_number|
              month_name = if options[:use_month_numbers]
                month_number
              elsif options[:add_month_numbers]
                month_number.to_s + ' - ' + month_names[month_number]
              else
                month_names[month_number]
              end

              month_options << ((date && (date.kind_of?(Fixnum) ? date : date.month) == month_number) ?
                %(<option value="#{month_number}" selected="selected">#{month_name}</option>\n) :
                %(<option value="#{month_number}">#{month_name}</option>\n)
              )
            end

            select_html(options[:field_name] || 'month', month_options, options[:prefix], options[:include_blank], options[:discard_type], options[:disabled])
          end