Revert "Merge pull request #2 from amatsuda/rails42"

This reverts commit 78157933f7286680bce5a5208fdfaff2c7cf1279, reversing
changes made to fda981ac64f04379df9d8a22d85880672075a3ba.