Permalink
Browse files

Use quoted intead of quote

  • Loading branch information...
1 parent 8354c13 commit 9d26ba5b671ed2798a368387a028ea8e156c939d @danmcclain danmcclain committed Feb 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/postgres_ext/arel/visitors/to_sql.rb
View
2 lib/postgres_ext/arel/visitors/to_sql.rb
@@ -5,7 +5,7 @@ module Visitors
class ToSql
def visit_Array o
if last_column.respond_to?(:array) && last_column.array
- quote(o, last_column)
+ quoted o
else
o.map { |x| visit x }.join(', ')
end

0 comments on commit 9d26ba5

Please sign in to comment.