diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-14 21:06:16 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-14 21:06:16 -0800 |
commit | 494a96542927348776e85e8ae52a01ad75ced872 (patch) | |
tree | a62f1957501d733b1d2f5369bb1d2a583c0824de /lib/arel/visitors/to_sql.rb | |
parent | d4bfaf2b82934e8611824c15cbf855d3d02418b5 (diff) | |
download | rails-494a96542927348776e85e8ae52a01ad75ced872.tar.gz rails-494a96542927348776e85e8ae52a01ad75ced872.tar.bz2 rails-494a96542927348776e85e8ae52a01ad75ced872.zip |
cleaning up more nodes
Diffstat (limited to 'lib/arel/visitors/to_sql.rb')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 8ceb839a6b..5efcbf009d 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -70,7 +70,7 @@ module Arel end def visit_Arel_Nodes_Exists o - "EXISTS (#{visit o.select_stmt})#{ + "EXISTS (#{visit o.expressions})#{ o.alias ? " AS #{visit o.alias}" : ''}" end |