The writ shall issue on the information of the party beneficially interested, but it shall not issue in any case where there is a plain, speedy, and adequate remedy in the ordinary course of law.