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

visitor.accept doesn't handle &block

This commit is contained in:
Ryuta Kamizono 2018-09-30 16:21:02 +09:00
parent 09de7c9170
commit 683a0b5042

View file

@ -67,8 +67,8 @@ module Arel # :nodoc: all
@connection = connection
end
def compile(node, collector = Arel::Collectors::SQLString.new, &block)
accept(node, collector, &block).value
def compile(node, collector = Arel::Collectors::SQLString.new)
accept(node, collector).value
end
private