diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-07-25 03:09:21 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-07-25 03:09:21 +0000 |
commit | d51e7f8252269492a511a9eb41f2832646a44248 (patch) | |
tree | 49854337d0b4b414171eb1ef63f8718169b211ff /activerecord/CHANGELOG | |
parent | b49fcde7e50c8eb378e7b1ae08f65c70f6de20e4 (diff) | |
download | rails-d51e7f8252269492a511a9eb41f2832646a44248.tar.gz rails-d51e7f8252269492a511a9eb41f2832646a44248.tar.bz2 rails-d51e7f8252269492a511a9eb41f2832646a44248.zip |
Ensure that has_many :through associations use a count query instead of loading the target when #size is called. Closes #8800 [lifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 5cb626f91a..4adcfcc4df 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +# Ensure that has_many :through associations use a count query instead of loading the target when #size is called. Closes #8800 [lifo] + * Added :unless clause to validations #8003 [monki]. Example: def using_open_id? |