Writing to the Rails log
30/04/2008RAILS_DEFAULT_LOGGER.error('log message')
…will write to the log file of the current environment.
small snippets of webmonkey wisdom
RAILS_DEFAULT_LOGGER.error('log message')
…will write to the log file of the current environment.