This project is archived and is in readonly mode.

Changeset [6361d4234ca7f7c2dcb98e6ed34187d2933b56d7] by Paul Gillard

October 6th, 2009 @ 10:25 PM

Call initialize_copy when cloning [#3164 state:resolved]

Cloned AR objects are now instantiated through initialize_copy rather than
new/initialize. This allows AR classes to override initialize_copy in order to
implement deep cloning.

Signed-off-by: Joshua Peek

Committed by Paul Gillard

  • M activerecord/lib/active_record/base.rb
  • M activerecord/test/cases/base_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>