aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/visitors/depth_first.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/arel/visitors/depth_first.rb')
-rw-r--r--activerecord/lib/arel/visitors/depth_first.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/arel/visitors/depth_first.rb b/activerecord/lib/arel/visitors/depth_first.rb
index ca11d9c879..98c3f92cf1 100644
--- a/activerecord/lib/arel/visitors/depth_first.rb
+++ b/activerecord/lib/arel/visitors/depth_first.rb
@@ -9,7 +9,7 @@ module Arel # :nodoc: all
end
private
- def visit(o)
+ def visit(o, _ = nil)
super
@block.call o
end