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