This project is archived and is in readonly mode.

Changeset [47d252f9928568620844edce2161acd457c352c0] by Carlos Antonio da Silva

March 8th, 2010 @ 11:11 PM

Fix associations to call :destroy or :delete based on the right :dependent option

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/47d252f9928568620844edce2161ac...

Committed by Carlos Antonio da Silva

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb
  • M activerecord/test/cases/calculations_test.rb
  • M activerecord/test/models/author.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>