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 [ed5b89483a1d9b0582e09d8e5fc5c38ecb0c809d] by George Ogata

Revision ed5b89483a1d9b0582e09d8e5fc5c38ecb0c809d, committed by George Ogata · December 28th, 2009 @ 01:18 PM

Set inverse for #replace on a has_one association. [#3513 state:resolved]

Signed-off-by: Eloy Duran eloy.de.enige@gmail.com
http://github.com/rails/rails/commit/ed5b89483a1d9b0582e09d8e5fc5c3...

2 changed files

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