Module: ThinkingSphinx::ActiveRecord::HasManyAssociation

Defined in:
lib/thinking_sphinx/active_record/has_many_association.rb

Instance Method Summary collapse

Instance Method Details

#search(*args) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/thinking_sphinx/active_record/has_many_association.rb', line 4

def search(*args)
  options   = args.extract_options!
  options[:with] ||= {}
  options[:with].merge! default_filter
  
  args << options
  @reflection.klass.search(*args)
end