aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-23 18:18:18 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-23 18:18:18 +0000
commit56412f4441f0954d3181eafbfb7b60b361e05d11 (patch)
tree99052526fd70cf0ebf3029f0bf7c166d5348ac85 /activerecord/lib/active_record/validations.rb
parent3cf461323c0401e56e4a7d7962745bbbe5316fd1 (diff)
downloadrails-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/validations.rb')
0 files changed, 0 insertions, 0 deletions