Class: ThinkingSphinx::ActiveRecord::Depolymorph::ConditionsReflection
- Inherits:
-
BaseReflection
- Object
- BaseReflection
- ThinkingSphinx::ActiveRecord::Depolymorph::ConditionsReflection
- Defined in:
- lib/thinking_sphinx/active_record/depolymorph/conditions_reflection.rb
Overview
The conditions approach is only available in Rails 3. This behaviour is superseded by ScopedReflection for Rails 4.0.
Instance Method Summary collapse
Methods inherited from BaseReflection
Constructor Details
This class inherits a constructor from ThinkingSphinx::ActiveRecord::Depolymorph::BaseReflection
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'lib/thinking_sphinx/active_record/depolymorph/conditions_reflection.rb', line 8 def call klass.new reflection.macro, name, , active_record end |