diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2015-01-29 17:02:12 +0200 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2015-01-29 17:27:02 +0200 |
commit | e94330fe40b472aec25a7b74b1294cbdc449b730 (patch) | |
tree | 29319d1cbce31fde6761890f6d2a53d51c4e1387 /activerecord/CHANGELOG.md | |
parent | 069b72aaf04d2caef76f8e71f320716129f2d949 (diff) | |
download | rails-e94330fe40b472aec25a7b74b1294cbdc449b730.tar.gz rails-e94330fe40b472aec25a7b74b1294cbdc449b730.tar.bz2 rails-e94330fe40b472aec25a7b74b1294cbdc449b730.zip |
Fixed AR::Relation#group method when argument is a SQL reserved keyword
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 7 |
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. |