rails 4 friendly