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 [4e8c36a7417e5d447c9b15d5c61df0c014ee6d3b] by Chris Kampmeier

Revision 4e8c36a7417e5d447c9b15d5c61df0c014ee6d3b, committed by Chris Kampmeier · May 17th, 2009 @ 05:56 PM

Implement #many? for NamedScope and AssociationCollection using #size [#1500 state:resolved]

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

5 changed files

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