Add support to Rails 4
Merge pull request #6 from grzlus/master

Add support for Rails 4