method
clear_aggregation_cache
clear_aggregation_cache(#:nodoc:)
public
Hide source
# File activerecord/lib/active_record/aggregations.rb, line 7 def clear_aggregation_cache #:nodoc: self.class.reflect_on_all_aggregations.to_a.each do |assoc| instance_variable_set "@#{assoc.name}", nil end unless self.new_record? end