diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-24 18:38:15 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-24 18:38:15 -0700 |
commit | c59f91e4af4dad29c94d6cd969a45d9288746a0b (patch) | |
tree | f904aad60e93750a2ff8f8e04c556ce672e75502 /lib/arel/visitors | |
parent | da958b98ea86a24b1c79cfb0cef7e42d58646ba9 (diff) | |
download | rails-c59f91e4af4dad29c94d6cd969a45d9288746a0b.tar.gz rails-c59f91e4af4dad29c94d6cd969a45d9288746a0b.tar.bz2 rails-c59f91e4af4dad29c94d6cd969a45d9288746a0b.zip |
return sql literal nodes
Diffstat (limited to 'lib/arel/visitors')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 927ecbb0b0..a798d888d3 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -126,8 +126,8 @@ module Arel DISPATCH = {} def visit object - #send "visit_#{object.class.name.gsub('::', '_')}", object - send DISPATCH[object.class], object + send "visit_#{object.class.name.gsub('::', '_')}", object + #send DISPATCH[object.class], object end private_instance_methods(false).each do |method| |