Module: ActiveRecord::Aggregations

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

Overview

Active Record Aggregations

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from ActiveSupport::Concern

append_features, extended, included

Instance Method Details

#clear_aggregation_cacheObject

:nodoc:



6
7
8
# File 'activerecord/lib/active_record/aggregations.rb', line 6

def clear_aggregation_cache #:nodoc:
  @aggregation_cache.clear if persisted?
end