rails 4 upgrade and other