1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #32725 from nikolai-b/rm_count_math_mixin

Remove math module from count
This commit is contained in:
Ryuta Kamizono 2018-04-26 20:09:43 +09:00 committed by GitHub
commit 2929d165c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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