supports rails 4.1.0 - 4.2.0 [skip ci]