supporting rails 4.1
Merge pull request #2 from sumitngupta/master

supporting rails 4.1