Hello all, I have a class in rails ./lib that I''m using to process some data using Active Record. While inside a method in this class (./lib/MyClass#someMethod), is there a way to use the rails logger to write to the default logs ? I''m using script/runner to run the method. Thanks, Peter Fitzgibbons
Hi ! 2005/10/20, Peter Fitzgibbons <peter.fitzgibbons@gmail.com>:> While inside a method in this class (./lib/MyClass#someMethod), is > there a way to use the rails logger to write to the default logs ?ActiveRecord::Base.logger Bye ! François _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails