This project is archived and is in readonly mode.

Changeset [c6e10b0f600a56e962ff7d1614c50fca20630379] by Jon Leighton

January 11th, 2011 @ 09:45 PM

has_one should always remove the old record (properly), even if not saving the new record, so we don't get the database into a pickle
https://github.com/rails/rails/commit/c6e10b0f600a56e962ff7d1614c50...

Committed by Jon Leighton

  • M activerecord/lib/active_record/associations/has_one_association.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb
  • M activerecord/test/fixtures/ships.yml
  • M activerecord/test/models/pirate.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>