Module: ActiveRecord::Aggregations

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
activerecord/lib/active_record/aggregations.rb

Overview

See ActiveRecord::Aggregations::ClassMethods for documentation

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from ActiveSupport::Concern

append_features, class_methods, extended, included

Instance Method Details

#initialize_dupObject

:nodoc:



8
9
10
11
# File 'activerecord/lib/active_record/aggregations.rb', line 8

def initialize_dup(*) # :nodoc:
  @aggregation_cache = {}
  super
end

#reloadObject

:nodoc:



13
14
15
16
# File 'activerecord/lib/active_record/aggregations.rb', line 13

def reload(*) # :nodoc:
  clear_aggregation_cache
  super
end