adjust rails 4.0