diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-10 09:51:03 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-10 09:51:03 -0700 |
commit | 5eaf76df2d442840926eb82d1d2265c2db2aef3f (patch) | |
tree | 2663500e332011e98a9262e3c652b0338bc0983d /lib/arel/visitors | |
parent | ac2bdd1dd31c8b89578ae7f490a898838b9ef6e0 (diff) | |
download | rails-5eaf76df2d442840926eb82d1d2265c2db2aef3f.tar.gz rails-5eaf76df2d442840926eb82d1d2265c2db2aef3f.tar.bz2 rails-5eaf76df2d442840926eb82d1d2265c2db2aef3f.zip |
we can visit DateTime
Diffstat (limited to 'lib/arel/visitors')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index d45253abd5..dc3dbc14c0 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -168,6 +168,7 @@ module Arel def visit_Symbol o; quote(o) end def visit_Time o; quote(o) end def visit_Date o; quote(o) end + def visit_DateTime o; quote(o) end def visit_Float o; quote(o) end def visit_BigDecimal o; quote(o) end |