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:
parent
09de7c9170
commit
683a0b5042
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue