Upgrade Rails from 4.0.4 to 4.1.6