aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/visitors/to_sql.rb1
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