instance method
reflect_on_all_aggregations
Ruby on Rails 6.0.6
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 58
def reflect_on_all_aggregations
aggregate_reflections.values
end
Defined in activerecord/lib/active_record/reflection.rb line 58
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Reflection::ClassMethods