allow rails 4