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 [984bc7a614852944808739fae09a654b6e62872e] by Dimitri Krassovski

Revision 984bc7a614852944808739fae09a654b6e62872e, committed by Dimitri Krassovski · March 6th, 2009 @ 07:11 PM

Ensure replacing has_one associations respects the supplied :dependent option. [#1305 state:resolved]

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

4 changed files

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