This project is archived and is in readonly mode.
Changeset [1bc71ed9607ba88c21c14b670a4308c8549f3941] by Jon Leighton
Revision 1bc71ed9607ba88c21c14b670a4308c8549f3941,
committed by Jon Leighton
· January 11th, 2011 @ 09:45 PM
When assigning a has_one, if the existing record fails to be
removed from the association, raise an error
https://github.com/rails/rails/commit/1bc71ed9607ba88c21c14b670a430...
2 changed files
-
M
activerecord/lib/active_record/associations/has_one_association.rb -
M
activerecord/test/cases/associations/has_one_associations_test.rb