Rails 4 support
Merge pull request #1 from kaluznyo/master

Rails 4 support