Module: ActiveRecord::Aggregations

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

Overview

Active Record Aggregations

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#clear_aggregation_cacheObject

:nodoc:


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

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