diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-14 10:06:46 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-14 10:06:46 -0700 |
commit | 886dff81c09dba2b2981b4387b02f026e6b16150 (patch) | |
tree | f73bfc6042bb65b78764cddcf8d57966732bca01 /lib/arel | |
parent | 1903f2b26057e4d70fdbbc0b94136a99a46f9b68 (diff) | |
download | rails-886dff81c09dba2b2981b4387b02f026e6b16150.tar.gz rails-886dff81c09dba2b2981b4387b02f026e6b16150.tar.bz2 rails-886dff81c09dba2b2981b4387b02f026e6b16150.zip |
adding AND nodes to dot visitor
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/visitors/dot.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/visitors/dot.rb b/lib/arel/visitors/dot.rb index 0fc6c1757f..55d5abe7e2 100644 --- a/lib/arel/visitors/dot.rb +++ b/lib/arel/visitors/dot.rb @@ -92,6 +92,7 @@ module Arel visit_edge o, "left" visit_edge o, "right" end + alias :visit_Arel_Nodes_And :visit_Arel_Nodes_Equality def visit_String o @node_stack.last.fields << o |