# File lib/action_view/helpers/form_helper.rb, line 800 def search_field(object_name, method, options = {}) options = options.stringify_keys if options["autosave"] if options["autosave"] == true options["autosave"] = request.host.split(".").reverse.join(".") end options["results"] ||= 10 end if options["onsearch"] options["incremental"] = true unless options.has_key?("incremental") end InstanceTag.new(object_name, method, self, options.delete("object")).to_input_field_tag("search", options) end