rails update and ruby change