Merge pull request #1 from anthonator/rails4

Updated to work with Rails 4