Support Rails 4
Merge pull request #80 from brandon-beacher/master

Allow Rails 4