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


I have read ( 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

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 ="/dev/null")