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 jose.valim@gmail.com
http://github.com/rails/rails/commit/d132dd33520ba61f7bfa9ba6fdd1b7...

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>