Approximation by ruled surfaces