This project is archived and is in readonly mode.

Changeset [d132dd33520ba61f7bfa9ba6fdd1b7b2bebd27f3] by Paul Gillard

June 23rd, 2010 @ 08:27 AM

Don't clone associations [#4894 state:resolved]

Cloning an active record object should be shallow in that it should copy attributes but not associations. This was no longer true as a result of #3164.

Signed-off-by: José Valim

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>