Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [ea40f71431a821b2ddb37be6ea3ee7d8dac63b85] by Jakub Kuźma

Revision ea40f71431a821b2ddb37be6ea3ee7d8dac63b85, committed by Jakub Kuźma · August 21st, 2008 @ 03:21 PM

Fix that has_one natural assignment to already associated record. [#854 state:resolved]

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

2 changed files

  • M activerecord/lib/active_record/associations/has_one_association.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb