add support for older rails (3.2)