module ActiveRecord::Aggregations
def clear_aggregation_cache
def clear_aggregation_cache @aggregation_cache.clear if persisted? end
def init_internals
def init_internals @aggregation_cache = {} super end
def initialize_dup(*) # :nodoc:
def initialize_dup(*) # :nodoc: @aggregation_cache = {} super end
def reload(*) # :nodoc:
def reload(*) # :nodoc: clear_aggregation_cache super end