diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-24 18:42:47 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-24 18:42:47 -0700 |
commit | 6c875af26fc91af120d270b25a35ebc0eee311ff (patch) | |
tree | 6984297c3fae00cedfd8f55c94da64e74e610d78 /lib/arel/visitors | |
parent | c59f91e4af4dad29c94d6cd969a45d9288746a0b (diff) | |
download | rails-6c875af26fc91af120d270b25a35ebc0eee311ff.tar.gz rails-6c875af26fc91af120d270b25a35ebc0eee311ff.tar.bz2 rails-6c875af26fc91af120d270b25a35ebc0eee311ff.zip |
we can visit the date!
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 a798d888d3..b6ebee3c9e 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -123,6 +123,7 @@ module Arel def visit_TrueClass o; quote(o) end def visit_String o; quote(o) end def visit_Time o; quote(o) end + def visit_Date o; quote(o) end DISPATCH = {} def visit object |