Support Rails > 4