logger.debug WHAT_TO_OUTPUT
***** I think this syntax only works in controllers and outside of a controller you have to use rails_default_debugger ******
(where WHAT_TO_OUTPUT is a string or interpolated to be a string)
The log is in your rails app: log/development.log