Please sign in to comment.
Added counter optimization for AssociationCollection#any? so person.f…
…riends.any? won't actually load the full association if we have the count in a cheaper form [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
- Loading branch information...
Showing with 8 additions and 0 deletions.