This pull request is a bad pull request all around.  Everything is wrong with it.

Do not write to stdout. Use Rails' logger if you want to log.