Skip to content

Commit

Permalink
Oracle and others wont take a string null for an answer
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Jun 1, 2006
1 parent ce99c87 commit 24a5a80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def to_formatted_s(format = :default)
case format
when :db
if respond_to?(:empty?) && self.empty?
"null"
"0"
else
collect { |element| element.id }.join(",")
end
Expand Down

0 comments on commit 24a5a80

Please sign in to comment.