Rails 4 support
Merge pull request #10 from dmitry-ilyashevich/master

Rails 4 support