Module: Searchgasm::ActiveRecord::Associations::AssociationCollection

Defined in:
lib/searchgasm/active_record/associations.rb

Instance Method Summary collapse

Instance Method Details

#find_with_searchgasm(*args) ⇒ Object

This needs to be implemented because AR doesn’t leverage scopes with this method like it probably should



9
10
11
12
13
# File 'lib/searchgasm/active_record/associations.rb', line 9

def find_with_searchgasm(*args)
  options = args.extract_options!
  args << filter_options_with_searchgasm(options)
  find_without_searchgasm(*args)
end