aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSzymon Nowak <szimek@gmail.com>2013-10-14 19:51:29 +0200
committerSzymon Nowak <szimek@gmail.com>2013-10-19 21:53:45 +0200
commit4ba9c508ec1d59dd43154022479a37558f8c19f3 (patch)
tree5998a224b53e59df9d42900a7fe9fdbd17bfe376 /activerecord/CHANGELOG.md
parentdb82e1d0bb21c2a13354b97733c09737719e946b (diff)
downloadrails-4ba9c508ec1d59dd43154022479a37558f8c19f3.tar.gz
rails-4ba9c508ec1d59dd43154022479a37558f8c19f3.tar.bz2
rails-4ba9c508ec1d59dd43154022479a37558f8c19f3.zip
In Relation#empty? use #exists? instead of #count.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 815e7c71fe..22a37810bc 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Make `Relation#empty?` use `exists?` instead of `count`.
+
+ *Szymon Nowak*
+
* `rake db:structure:dump` no longer crashes when the port was specified as `Fixnum`.
*Kenta Okamoto*