diff options
Diffstat (limited to 'lib/arel/visitors/oracle.rb')
-rw-r--r-- | lib/arel/visitors/oracle.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/arel/visitors/oracle.rb b/lib/arel/visitors/oracle.rb index 4c79c4b038..3b452836db 100644 --- a/lib/arel/visitors/oracle.rb +++ b/lib/arel/visitors/oracle.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true module Arel module Visitors class Oracle < Arel::Visitors::ToSql @@ -136,7 +137,7 @@ module Arel array[i] << ',' << part else # to ensure that array[i] will be String and not Arel::Nodes::SqlLiteral - array[i] = '' << part + array[i] = part.to_s end i += 1 if array[i].count('(') == array[i].count(')') end |