rails 4 compatible