diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-23 18:18:18 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-23 18:18:18 +0000 |
commit | 56412f4441f0954d3181eafbfb7b60b361e05d11 (patch) | |
tree | 99052526fd70cf0ebf3029f0bf7c166d5348ac85 /activerecord/lib/active_record/vendor | |
parent | 3cf461323c0401e56e4a7d7962745bbbe5316fd1 (diff) | |
download | rails-56412f4441f0954d3181eafbfb7b60b361e05d11.tar.gz rails-56412f4441f0954d3181eafbfb7b60b361e05d11.tar.bz2 rails-56412f4441f0954d3181eafbfb7b60b361e05d11.zip |
Optimize counting of has_many associations by setting the association to empty if the count is 0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/vendor')
0 files changed, 0 insertions, 0 deletions