Active Record 2.0.2 without logger support? [undefined method `debug' for nil:NilClass]

Hi,

I have read (http://blog.antarestrader.com/?p=16) and noticed, when
upgrading to Active Record 2.0.2, that not using a logger can cause
NilClass errors, more specifically the error "undefined method `debug'
for nil:NilClass".

There is an opened ticket for about 5 months about this
(http://dev.rubyonrails.org/ticket/10535).

I'm unsure if this is a bug, or if we do all have to include

If you’re using linux you may even be able to pipe that data into /dev/null, therefore not creating a file at all:

ActiveRecord::Base.logger = Logger.new("/dev/null")