This project is archived and is in readonly mode.
Changeset [d132dd33520ba61f7bfa9ba6fdd1b7b2bebd27f3] by Paul Gillard
Revision d132dd33520ba61f7bfa9ba6fdd1b7b2bebd27f3,
committed 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...
2 changed files
-
M
activerecord/lib/active_record/base.rb -
M
activerecord/test/cases/base_test.rb