method

reflect_on_aggregation

reflect_on_aggregation(aggregation)
public

Returns the AggregateReflection object for the named aggregation (use the symbol). Example:

  Account.reflect_on_aggregation(:balance) # returns the balance AggregateReflection