Module: ActiveRecord::Inheritance

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_record/inheritance.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#initialize_dup(other) ⇒ Object



198
199
200
201
# File 'lib/active_record/inheritance.rb', line 198

def initialize_dup(other)
  super
  ensure_proper_type
end