aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-08-16 23:13:42 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-08-16 23:13:42 -0300
commit2af63c9c9f44028ca6c3a418756c1d0a783c12c5 (patch)
treef703e8734018e58eb49ffc092de978c55a88b509 /activerecord/CHANGELOG.md
parentaf4dfa9e1ad85986f65f759f8222fc3bbbf1f4ef (diff)
parent0aae7806c10e3e3cce671c23dac6a8958ba89629 (diff)
downloadrails-2af63c9c9f44028ca6c3a418756c1d0a783c12c5.tar.gz
rails-2af63c9c9f44028ca6c3a418756c1d0a783c12c5.tar.bz2
rails-2af63c9c9f44028ca6c3a418756c1d0a783c12c5.zip
Merge pull request #26121 from MaxLap/fix_count_with_left_joins
Fix count which would sometimes force a DISTINCT
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index bf81c23036..6b996fd6bd 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Doing count on relations that contain LEFT OUTER JOIN Arel node no longer
+ force a DISTINCT. This solves issues when using count after a left_joins.
+
+ *Maxime Handfield Lapointe*
+
* RecordNotFound raised by association.find exposes `id`, `primary_key` and
`model` methods to be consistent with RecordNotFound raised by Record.find.