method

init_internals

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Core
init_internals() 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/core.rb, line 570
      def init_internals
        @primary_key              = self.class.primary_key
        @readonly                 = false
        @destroyed                = false
        @marked_for_destruction   = false
        @destroyed_by_association = nil
        @_start_transaction_state = nil
        @transaction_state        = nil

        self.class.define_attribute_methods
      end
Register or log in to add new notes.