Upgrade Rails from 4.0.1 to 4.1.7.