method
init_internals
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::Core
init_internals()private
No documentation available.
# File activerecord/lib/active_record/core.rb, line 780
def init_internals
@primary_key = self.class.primary_key
@readonly = false
@previously_new_record = false
@destroyed = false
@marked_for_destruction = false
@destroyed_by_association = nil
@_start_transaction_state = nil
@strict_loading = self.class.strict_loading_by_default
self.class.define_attribute_methods
end