rails 4.1 support
Merge pull request #67 from igas/rails41

rails 4.1 support