Supports Rails 4
Merge pull request #9 from alindeman/master

Supports Rails 4