From e94330fe40b472aec25a7b74b1294cbdc449b730 Mon Sep 17 00:00:00 2001 From: Bogdan Gusiev Date: Thu, 29 Jan 2015 17:02:12 +0200 Subject: Fixed AR::Relation#group method when argument is a SQL reserved keyword --- activerecord/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'activerecord/CHANGELOG.md') 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. -- cgit v1.2.3