code: def collection_select(attribute, collection, value_method, text_method, options = {}, html_options = {})
        field attribute, options, html_options do |html_opts|
          html_options[:autocomplete] ||= :off
          super(attribute, collection, value_method, text_method, options,
                html_opts)
        end
      end
docs: rubocop:disable LineLength, ParameterLists