Changing RAILS_ROOT to Rails.root and making String.sub's first param be a regex and not a string
Merge pull request #2 from pturley/master

Getting rid of RAILS_ROOT and fixing a .sub