diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-11 11:20:00 +0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-11 13:18:21 +0800 |
commit | 963fc7d883351dd1623434428decb9015bd4484a (patch) | |
tree | f9966469d31015dc541a4e1d9710014aa90275e7 /lib/arel/visitors | |
parent | 5daafa8e959acc64fc19e9522470282ac0f25f33 (diff) | |
download | rails-963fc7d883351dd1623434428decb9015bd4484a.tar.gz rails-963fc7d883351dd1623434428decb9015bd4484a.tar.bz2 rails-963fc7d883351dd1623434428decb9015bd4484a.zip |
We can visit hash.
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 65dc5fdb83..be9a62325a 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -199,6 +199,7 @@ module Arel def visit_TrueClass o; quote(o) end def visit_String o; quote(o) end + def visit_Hash o; quote(o) end def visit_ActiveSupport_Multibyte_Chars o; quote(o) end if defined?(ActiveSupport) def visit_Symbol o; quote(o) end def visit_Time o; quote(o) end |