Upgrade from rails 3.2 to rails 4.