rails 3 upgrade