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 [6c0028d5cca89b3f2da7382163e6bf149f33a1fd] by Matt Jones

Revision 6c0028d5cca89b3f2da7382163e6bf149f33a1fd, committed by Matt Jones · November 10th, 2009 @ 05:07 AM

delete correct records for a has_many with :primary_key and :dependent => :delete_all

Signed-off-by: Michael Koziarski michael@koziarski.com
http://github.com/rails/rails/commit/6c0028d5cca89b3f2da7382163e6bf...

4 changed files

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