From 24a5a803f3d01d1b6d72e1fb22a97b3922848cae Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 1 Jun 2006 00:23:08 +0000 Subject: Oracle and others wont take a string null for an answer git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/core_ext/array/conversions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/core_ext/array/conversions.rb b/activesupport/lib/active_support/core_ext/array/conversions.rb index 35d010b164..7ccc63b31d 100644 --- a/activesupport/lib/active_support/core_ext/array/conversions.rb +++ b/activesupport/lib/active_support/core_ext/array/conversions.rb @@ -35,7 +35,7 @@ module ActiveSupport #:nodoc: case format when :db if respond_to?(:empty?) && self.empty? - "null" + "0" else collect { |element| element.id }.join(",") end -- cgit v1.2.3