aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-29 14:40:21 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-29 14:40:21 -0200
commit6296c09e5b915c522c4127844c623afb44c62e1a (patch)
tree432fd1ab314451bc2f22e98f91a21772a7b33194 /activerecord/CHANGELOG.md
parentbb6fe7e73a96ac6a9130ed2a68a606ed5f5fb881 (diff)
parente94330fe40b472aec25a7b74b1294cbdc449b730 (diff)
downloadrails-6296c09e5b915c522c4127844c623afb44c62e1a.tar.gz
rails-6296c09e5b915c522c4127844c623afb44c62e1a.tar.bz2
rails-6296c09e5b915c522c4127844c623afb44c62e1a.zip
Merge pull request #18722 from bogdan/group-by-key-word
Fixed AR::Relation#group method when argument is a SQL reserved keyword
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 73dfc1d647..3bd1fe32b4 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Fixed ActiveRecord::Relation#group method when argument is SQL reserved key word:
+
+ SplitTest.group(:key).count
+ Property.group(:value).count
+
+ *Bogdan Gusiev*
+
* Added the `#or` method on ActiveRecord::Relation, allowing use of the OR
operator to combine WHERE or HAVING clauses.