Module: ActiveRecord::Aggregations
- Defined in:
- activerecord/lib/active_record/aggregations.rb
Overview
See ActiveRecord::Aggregations::ClassMethods for documentation
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#initialize_dup ⇒ Object
:nodoc:.
-
#reload ⇒ Object
:nodoc:.
Instance Method Details
#initialize_dup ⇒ Object
:nodoc:
6 7 8 9 |
# File 'activerecord/lib/active_record/aggregations.rb', line 6 def initialize_dup(*) # :nodoc: @aggregation_cache = @aggregation_cache.dup super end |
#reload ⇒ Object
:nodoc:
11 12 13 14 |
# File 'activerecord/lib/active_record/aggregations.rb', line 11 def reload(*) # :nodoc: clear_aggregation_cache super end |