Method: ActiveRecord::Reflection::ClassMethods#reflect_on_all_aggregations

Defined in:
lib/ocean-dynamo/active_record_stuff/reflection.rb

#reflect_on_all_aggregationsObject

Returns an array of AggregateReflection objects for all the aggregations in the class.



34
35
36
# File 'lib/ocean-dynamo/active_record_stuff/reflection.rb', line 34

def reflect_on_all_aggregations
  reflections.values.grep(AggregateReflection)
end