rails 4.0 allowed
Merge pull request #9 from dmilisic/master

Rails 4 support