allow rails 4
Merge pull request #1 from opahk/master

allow rails 4