upgrade Rails from 3.2.9 to 4