mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user