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

Fix odd indentation

This commit is contained in:
Ryuta Kamizono 2018-10-10 08:03:06 +09:00
parent f569955e06
commit e0d147fa90

View file

@ -9,20 +9,20 @@ module Arel # :nodoc: all
collector << "( "
end
collector = case o.left
when Arel::Nodes::Union
visit_Arel_Nodes_Union o.left, collector, true
else
visit o.left, collector
case o.left
when Arel::Nodes::Union
visit_Arel_Nodes_Union o.left, collector, true
else
visit o.left, collector
end
collector << " UNION "
collector = case o.right
when Arel::Nodes::Union
visit_Arel_Nodes_Union o.right, collector, true
else
visit o.right, collector
case o.right
when Arel::Nodes::Union
visit_Arel_Nodes_Union o.right, collector, true
else
visit o.right, collector
end
if suppress_parens