method
_create_record
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::CounterCache
_create_record(attribute_names = self.attribute_names)private
No documentation available.
# File activerecord/lib/active_record/counter_cache.rb, line 165
def _create_record(attribute_names = self.attribute_names)
id = super
each_counter_cached_associations do |association|
association.increment_counters
end
id
end