make it compatible with final Rails 4.2