upgraded rails to match server