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

Revision d625312fe11bbf53e285a0efd570249f0bf91fd1, committed by Matt Jones · November 10th, 2009 @ 05:41 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/d625312fe11bbf53e285a0efd57024...

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