aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-20 14:48:26 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-10-20 14:48:26 -0600
commit03aacc55a239345a3ca8b36d188a338e7dab5189 (patch)
treef36d7fdd0bd7daf91a7a2870cc5822fb9f3c5417 /activerecord/CHANGELOG.md
parentd99db6b8b3e48ca209436facdac9899d3d99f641 (diff)
parenta7628099de796a2db2c18e946dab319abd0fcba2 (diff)
downloadrails-03aacc55a239345a3ca8b36d188a338e7dab5189.tar.gz
rails-03aacc55a239345a3ca8b36d188a338e7dab5189.tar.bz2
rails-03aacc55a239345a3ca8b36d188a338e7dab5189.zip
Merge pull request #21756 from soutaro/qualify-column-in-calculation
Qualify column names in calculation
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 901f043544..ed861dc4d6 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Qualify column name inserted by `group` in calculation
+
+ Giving `group` an unqualified column name now works, even if the relation
+ has `JOIN` with another table which also has a column of the name.
+
+ *Soutaro Matsumoto*
+
* Don't cache prepared statements containing an IN clause or a SQL literal, as
these queries will change often and are unlikely to have a cache hit.