Module: ActiveRecord::Inheritance

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

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from ActiveSupport::Concern

append_features, extended, included

Instance Method Details

#initialize_dup(other) ⇒ Object



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

def initialize_dup(other)
  super
  ensure_proper_type
end