apply rails security patch