Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/rails-autocomplete/form_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#autocomplete_field(method, source, options = {}) ⇒ Object



46
47
48
# File 'lib/rails-autocomplete/form_helper.rb', line 46

def autocomplete_field(method, source, options = {})
  @template.autocomplete_field(@object_name, method, source, objectify_options(options))
end