allow rails 4.2