module ThinkingSphinx::ActiveRecord::HasManyAssociationWithScopes

Public Instance Methods

method_missing(method, *args, &block) click to toggle source
# File lib/thinking_sphinx/active_record/has_many_association_with_scopes.rb, line 4
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