Avoid assignment in conditional
Add a logger

Defaults to the rails logger when used as a
Railtie
Use logger instead of puts
Always define an else in a case statement
Misc fixes for whitespace and line length
Remove extra blank lines
Missing space after #
Space bwtween { and | missing
Remove space inside parentheses
Remove space inside square brackets
Missing space after comma
Missing space inside }
Space missing to the left of {
Surround operators with spaces
Add underscores to large numeric literals
Never use unless with an else

Rewrite the positive case first
Prefer until over where

unless the conditional contains an assignment
Prefer map over collect
Prefer single quotes without interpolation
Prefer Ruby 1.9 style syntax