Writing to the Rails log

30/04/2008
RAILS_DEFAULT_LOGGER.error('log message')

…will write to the log file of the current environment.

No Comments