Avoid multi-line chains of blocks.<br>Space between { and | missing.<br>Space missing inside }.<br>Do not write to stdout. Use Rails' logger if you want to log.