i find I cant send to logger in production mode
if I am running a script/runner on a model method.
Works in development mode, must be a reason for this although I cant
figure it
Output just seems to go nowhere
Tonypm
--~--~-~--~~~---~--~~
You received this
On Mar 30, 1:32 pm, Frederick Cheung frederick.che...@gmail.com
wrote:
You can't call it from any method. ActionController::Base,
ActiveRecord::Base and a few others have accessors called logger that
returns a Logger object
Rails also stores a Logger object in RAILS_DEFAULT_LOGGER, so you can
On Mar 30, 9:08 pm, Steve Dogers rails-mailing-l...@andreas-s.net
wrote:
Hi, I don't understand how we can just call 'logger' from any method,
You can't call it from any method. ActionController::Base,
ActiveRecord::Base and a few others have accessors called logger that
returns a Logger
3 matches
Mail list logo