aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource/base.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-12-05 03:26:56 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-12-05 03:26:56 +0000
commit22f095be233e6cfc9bd21104f271d354451bcdcb (patch)
treec00abc0e0511db624a67fdde8bf7fa22d4bef70d /activeresource/lib/active_resource/base.rb
parent56267474dac278898bf2f53b9a43fb68bd83f43d (diff)
downloadrails-22f095be233e6cfc9bd21104f271d354451bcdcb.tar.gz
rails-22f095be233e6cfc9bd21104f271d354451bcdcb.tar.bz2
rails-22f095be233e6cfc9bd21104f271d354451bcdcb.zip
Added counter optimization for AssociationCollection#any? so person.friends.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
Diffstat (limited to 'activeresource/lib/active_resource/base.rb')
0 files changed, 0 insertions, 0 deletions