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 [2e24cf7cc2392c8fa252ef3b4831a4516ae852d6] by Jon Leighton

Revision 2e24cf7cc2392c8fa252ef3b4831a4516ae852d6, committed by Jon Leighton · January 30th, 2011 @ 11:58 AM

AssociationCollection#clear can basically just use #delete_all, except it should return self.
https://github.com/rails/rails/commit/2e24cf7cc2392c8fa252ef3b4831a...

2 changed files

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb