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 [47d252f9928568620844edce2161acd457c352c0] by Carlos Antonio da Silva

Revision 47d252f9928568620844edce2161acd457c352c0, committed 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...

7 changed files

  • 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