diff options
author | Mike Dalessio <mike@csa.net> | 2010-08-16 22:59:52 -0400 |
---|---|---|
committer | Mike Dalessio <mike@csa.net> | 2010-08-16 22:59:52 -0400 |
commit | f8376607cd438a48f5838204d2ec9d0747769369 (patch) | |
tree | a15ce11b645ede262f21b0a8c201b69311eb8b46 /lib/arel/visitors | |
parent | e6f12b13d7de1ab56426b86eec3a1c820df4aa41 (diff) | |
download | rails-f8376607cd438a48f5838204d2ec9d0747769369.tar.gz rails-f8376607cd438a48f5838204d2ec9d0747769369.tar.bz2 rails-f8376607cd438a48f5838204d2ec9d0747769369.zip |
dot visitor supports Arel::Nodes::UpdateStatement
Diffstat (limited to 'lib/arel/visitors')
-rw-r--r-- | lib/arel/visitors/dot.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/arel/visitors/dot.rb b/lib/arel/visitors/dot.rb index 54551f06f7..ec2db0814f 100644 --- a/lib/arel/visitors/dot.rb +++ b/lib/arel/visitors/dot.rb @@ -45,6 +45,12 @@ module Arel visit_edge o, "limit" end + def visit_Arel_Nodes_UpdateStatement o + visit_edge o, "relation" + visit_edge o, "wheres" + visit_edge o, "values" + end + def visit_Arel_Table o visit_edge o, "name" end |