In my algebra course (taught from Artin), a principal ideal domain is defined as an integral domain such that all ideals are principal. This got me wondering:
Are there rings for which every ideal is principal, but the ring is not an integral domain?