A California judge dismissed a felony rape charge against Ray McDonald, a former San Francisco 49ers defensive end, after prosecutors stated the…