Rails 4 compatibility
Merge pull request #1 from dmitrydims/master

Rails 4 compatibility