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:
parent
f569955e06
commit
e0d147fa90
1 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue