diff options
Diffstat (limited to 'lib/arel/visitors/to_sql.rb')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 5536ba0267..736c0ce77b 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -57,7 +57,7 @@ module Arel end def visit_Arel_Nodes_Equality o - "#{visit o.left} = #{visit o.right}" + "#{visit o.left} = #{quote visit o.right}" end def visit_Arel_Attributes_Attribute o |