diff options
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/visitors/dot.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/arel/visitors/dot.rb b/lib/arel/visitors/dot.rb index 0fc6c1757f..7d68d655e8 100644 --- a/lib/arel/visitors/dot.rb +++ b/lib/arel/visitors/dot.rb @@ -92,6 +92,13 @@ module Arel visit_edge o, "left" visit_edge o, "right" end + alias :visit_Arel_Nodes_And :visit_Arel_Nodes_Equality + alias :visit_Arel_Nodes_Or :visit_Arel_Nodes_Equality + alias :visit_Arel_Nodes_NotEqual :visit_Arel_Nodes_Equality + alias :visit_Arel_Nodes_GreaterThan :visit_Arel_Nodes_Equality + alias :visit_Arel_Nodes_GreaterThanOrEqual :visit_Arel_Nodes_Equality + alias :visit_Arel_Nodes_Assignment :visit_Arel_Nodes_Equality + def visit_String o @node_stack.last.fields << o |