diff options
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 9782b6cd04..08f749d3c8 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -896,7 +896,7 @@ module ActiveRecord #:nodoc: def quote_bound_value(value) case value - when Array + when Enumerable value.map { |v| connection.quote(v) }.join(',') else connection.quote(value) |