method

_create_record

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::CounterCache
_create_record(attribute_names = self.attribute_names) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/counter_cache.rb, line 186
      def _create_record(attribute_names = self.attribute_names)
        id = super

        each_counter_cached_associations do |association|
          association.increment_counters
        end

        id
      end
Register or log in to add new notes.