diff options
Diffstat (limited to 'lib/arel/nodes/function.rb')
-rw-r--r-- | lib/arel/nodes/function.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/arel/nodes/function.rb b/lib/arel/nodes/function.rb index a1cd13d4d1..133dd66019 100644 --- a/lib/arel/nodes/function.rb +++ b/lib/arel/nodes/function.rb @@ -1,6 +1,6 @@ module Arel module Nodes - class Function + class Function < Arel::Nodes::Node include Arel::Expression attr_accessor :expressions, :alias @@ -13,11 +13,6 @@ module Arel self.alias = SqlLiteral.new(aliaz) self end - - def to_sql - viz = Visitors::ToSql.new Table.engine - viz.accept self - end end end end |