Rings in which every ideal is pure-projective or FP-projective