Using a formatter to work with Rails 4.
Merge pull request #17 from PotHix/master

Added a simple formatter to make it work for Rails 4