When all the stockholders are present at any meeting, however called or notified, and sign a written consent thereto, on the record of such meeting, the doings of such meeting shall be as valid as if had at a meeting otherwise legally called and noticed.