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 [2242d3faf12dfc381850e2269016dd4ba95bad86] by Jakub Kuźma

Revision 2242d3faf12dfc381850e2269016dd4ba95bad86, committed by Jakub Kuźma · August 24th, 2008 @ 05:41 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