Method: ThinkingSphinx::ActiveRecord::HasManyAssociation#method_missing
- Defined in:
- lib/thinking_sphinx/active_record/has_many_association.rb
#method_missing(method, *args, &block) ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/thinking_sphinx/active_record/has_many_association.rb', line 13 def method_missing(method, *args, &block) if responds_to_scope(method) @reflection.klass. search(:with => default_filter). send(method, *args, &block) else super end end |