update rails to 4.1.0. Remove settings logic