Module: Searchgasm::ActiveRecord::Associations::HasManyAssociation

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

Instance Method Summary collapse

Instance Method Details

#count_with_searchgasm(*args) ⇒ Object



17
18
19
20
21
# File 'lib/searchgasm/active_record/associations.rb', line 17

def count_with_searchgasm(*args)
  options = args.extract_options!
  args << filter_options_with_searchgasm(options)
  count_without_searchgasm(*args)
end