CJ's First pull request for review

First pull request for review.
Use 2 (not 1) spaces for indentation.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.<br>Tab detected.<br>Do not write to stdout. Use Rails' logger if you want to log.