Hi,
I have read (Antares Trader) 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
Logger support
require ‘logger’
ActiveRecord::Base.logger = Logger.new(“debug.log”)
… in our source code. For me, this works. No more NilClass error with
Logger support. But I wish I could disactivate it.
Thanks,
Philippe L.