diff options
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index b9957c41fa..b25388c0e8 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -264,8 +264,6 @@ module ActiveRecord case select = selects.last when Arel::Expression, Arel::SqlLiteral arel.project(select) - when /^COUNT\(/ - arel.project(Arel::SqlLiteral.new(select)) else arel.project(*selects) end |