Change rails to 4