This project is archived and is in readonly mode.

Changeset [7f7b480098fa780dd76b4c1243230d74be67b3ca] by Jon Leighton

January 11th, 2011 @ 09:45 PM

When assigning a has_one, if the new record fails to save, raise an error
https://github.com/rails/rails/commit/7f7b480098fa780dd76b4c1243230...

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/cases/autosave_association_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>