Enable rails < 5