A curve $\alpha(t)=(r(t),z(t))$ in the $(r,z)$-plane, where $r(t)>0$, is rotated around the $z$-axis. We can parameterise it with $x(t,\phi)=(r(t) \cos\phi,r(t) \sin\phi,z(t))$ for $t \in (a,b)$ and $\phi \in (0,2\pi)$.
Now given the second fundamental form $(L_{ij})$
$$\frac{1}{\sqrt{\dot r^2+ \dot z^2}} \begin{pmatrix} \dot r \ddot z- \dot z \ddot r & 0\\ 0& r \dot z \end{pmatrix}$$
I've got to prove that $\det(L_{ij})=0 $ only then if every meridian is a straight line. Well, calculating the determinant, I get the equation $\dot z \ddot r= \dot r \ddot z$. Now I don't know how to go on. I'd be grateful for any help.