instance method
reflect_on_all_aggregations
Ruby on Rails 3.1.12
Since v2.2.3Signature
reflect_on_all_aggregations()
Returns an array of AggregateReflection objects for all the aggregations in the class.
Source
# File activerecord/lib/active_record/reflection.rb, line 38
def reflect_on_all_aggregations
reflections.values.grep(AggregateReflection)
end
Defined in activerecord/lib/active_record/reflection.rb line 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Reflection::ClassMethods