From e4df08fadb2099cf1706cbdb65a5dd0fbd82fa90 Mon Sep 17 00:00:00 2001 From: Nikolai B Date: Wed, 25 Apr 2018 17:14:07 +0100 Subject: Remove math module from count Not required after https://github.com/rails/arel/pull/449 --- activerecord/lib/arel/nodes/count.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activerecord/lib/arel') diff --git a/activerecord/lib/arel/nodes/count.rb b/activerecord/lib/arel/nodes/count.rb index c8e409ea8b..880464639d 100644 --- a/activerecord/lib/arel/nodes/count.rb +++ b/activerecord/lib/arel/nodes/count.rb @@ -3,8 +3,6 @@ module Arel # :nodoc: all module Nodes class Count < Arel::Nodes::Function - include Math - def initialize(expr, distinct = false, aliaz = nil) super(expr, aliaz) @distinct = distinct -- cgit v1.2.3