Module: Globalize3JQueryAutocomplete::Orm::ActiveRecord

Defined in:
lib/globalize3_jquery_autocomplete/orm/active_record.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
# File 'lib/globalize3_jquery_autocomplete/orm/active_record.rb', line 7

def self.included(base)
  base.send :include, InstanceMethods
  base.send :alias_method_chain, :get_autocomplete_items, :globalize3
  base.send :alias_method_chain, :get_autocomplete_select_clause, :globalize3
end