Class: ThinkingSphinx::ActiveRecord::FilterReflection
- Inherits:
-
Object
- Object
- ThinkingSphinx::ActiveRecord::FilterReflection
- Defined in:
- lib/thinking_sphinx/active_record/filter_reflection.rb
Constant Summary collapse
- ReflectionGenerator =
case ActiveRecord::VERSION::STRING.to_f when 5.2..7.0 ThinkingSphinx::ActiveRecord::Depolymorph::OverriddenReflection when 4.1..5.1 ThinkingSphinx::ActiveRecord::Depolymorph::AssociationReflection when 4.0 ThinkingSphinx::ActiveRecord::Depolymorph::ScopedReflection when 3.2 ThinkingSphinx::ActiveRecord::Depolymorph::ConditionsReflection end
Class Method Summary collapse
Class Method Details
.call(reflection, name, class_name) ⇒ Object
15 16 17 |
# File 'lib/thinking_sphinx/active_record/filter_reflection.rb', line 15 def self.call(reflection, name, class_name) ReflectionGenerator.new(reflection, name, class_name).call end |