Module: ActiveRecord::Aggregations

Extended by:
ActiveSupport::Concern
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

- (Object) clear_aggregation_cache

:nodoc:



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

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