This project is archived and is in readonly mode.

Changeset [d625312fe11bbf53e285a0efd570249f0bf91fd1] 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...

Committed by Matt Jones

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>