This project is archived and is in readonly mode.
Changeset [592085be83ed1b8ff0065a92490e54fcb1a8bc87] by Murray Steele
December 28th, 2009 @ 01:20 PM
Add more tests for the various ways we can assign objects to associations. [#3513 state:resolved]
Get rid of a duplicate set_inverse_instance call if you use new_record(true) (e.g. you want to replace the existing instance).
Signed-off-by: Eloy Duran eloy.de.enige@gmail.com
http://github.com/rails/rails/commit/592085be83ed1b8ff0065a92490e54...
Committed by Murray Steele
- M activerecord/lib/active_record/associations/has_one_association.rb
- M activerecord/test/cases/associations/inverse_associations_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>