rails 4 upgrade