Debug Rails (send to logger msg)

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.