Fix Rails 4 beta support
Merge pull request #6 from neersighted/patch-1

Fix Rails 4 beta support