In this answer to a question in Milnor, is says that if $e:C^\infty(M,\mathbb{R})\rightarrow \mathbb{R}$ is any ring homomorphism, then it is in fact an $\mathbb{R}$-algebra homomorphism, because $e(c)=c$ for any constant function $c$. He says "Indeed this must be true if $c\in \mathbb{Q}$".
Perhaps I am missing something obvious, but I do not see how it is automatically true that $e(c)=c$ for any $c\in \mathbb{Q}$. I understand the rest of the proof, but this little detail is driving me nuts!