diff options
Diffstat (limited to 'lib/arel/select_manager.rb')
-rw-r--r-- | lib/arel/select_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index 40e197910b..f8b3089a82 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -198,7 +198,7 @@ module Arel def collapse exprs return exprs.first if exprs.length == 1 - Nodes::And.new exprs.compact.map { |expr| + create_and exprs.compact.map { |expr| if String === expr Arel.sql(expr) else |