Update rails compatibility 4.2.0
Merge pull request #2 from dtaniwaki/update-compatibility

Update rails compatibility 4.2.0