# File lib/thinking_sphinx/active_record/scopes.rb, line 83 def add_sphinx_scopes_support_to_has_many_associations scope_mixin = ::ThinkingSphinx::ActiveRecord::HasManyAssociationWithScopes ::ActiveRecord::Associations::HasManyAssociation.send(:include, scope_mixin) ::ActiveRecord::Associations::HasManyThroughAssociation.send(:include, scope_mixin) end