A commutative ring is a field iff the only ideals are $(0)$ and $(1)$
It is the first answer but the user seems to be not active anymore. When the user made his proof for the converse that if the ideals of a commutative ring $R$ are only $(0)$ and $(1)$ then $R$ is a field did he use in his reasoning that $0\neq1$ ?