Skip to content

Instantly share code, notes, and snippets.

@vgvinay2
Created February 19, 2016 18:03
Show Gist options
  • Save vgvinay2/a5bb3a863becf7af694b to your computer and use it in GitHub Desktop.
Save vgvinay2/a5bb3a863becf7af694b to your computer and use it in GitHub Desktop.
Create Own helper methods
class ActionView::Helpers::FormBuilder #:nodoc:
def autocomplete_field(method, source, options = {})
@template.autocomplete_field(@object_name, method, source, objectify_options(options))
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment