Allow use with Rails 4
Merge pull request #1 from kdonovan/master

Allow use with Rails 4