Sure. If you want console debug output (so stuff gets written in the console where you typed “ruby script/server”, just use puts .
You really should use the logging support though. logger.debug and logger.info do that in your code.
Sure. If you want console debug output (so stuff gets written in the console where you typed “ruby script/server”, just use puts .
You really should use the logging support though. logger.debug and logger.info do that in your code.