rails 4 adaptation