Module: Squeel::Adapters::ActiveRecord::ReflectionExtensions::ClassMethods
- Defined in:
- lib/squeel/adapters/active_record/4.1/reflection_extensions.rb
Instance Method Summary collapse
- #_reflect_on_association_with_squeel(association) ⇒ Object
- #reflect_on_aggregation_with_squeel(aggregation) ⇒ Object
- #reflect_on_association_with_squeel(association) ⇒ Object
Instance Method Details
#_reflect_on_association_with_squeel(association) ⇒ Object
27 28 29 30 |
# File 'lib/squeel/adapters/active_record/4.1/reflection_extensions.rb', line 27 def _reflect_on_association_with_squeel(association) association ||= "" _reflect_on_association_without_squeel(association) end |
#reflect_on_aggregation_with_squeel(aggregation) ⇒ Object
17 18 19 20 |
# File 'lib/squeel/adapters/active_record/4.1/reflection_extensions.rb', line 17 def reflect_on_aggregation_with_squeel(aggregation) aggregation ||= "" reflect_on_aggregation_without_squeel(aggregation) end |
#reflect_on_association_with_squeel(association) ⇒ Object
22 23 24 25 |
# File 'lib/squeel/adapters/active_record/4.1/reflection_extensions.rb', line 22 def reflect_on_association_with_squeel(association) association ||= "" reflect_on_association_without_squeel(association) end |