Skip to content
Browse files

fixing LH #6384

  • Loading branch information...
1 parent 9d9db2d commit 64d21596950df4599bc6ea8a7b6356404b3b2737 @tenderlove tenderlove committed Feb 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/arel/select_manager.rb
View
2 lib/arel/select_manager.rb
@@ -213,6 +213,8 @@ def insert values
private
def collapse exprs
+ exprs.map! { |x| x.class == ::String ? Arel.sql(x) : x }
+
return exprs.first if exprs.length == 1
right = exprs.pop

0 comments on commit 64d2159

Please sign in to comment.
Something went wrong with that request. Please try again.