For what kind of commutative rings $R$, the following property holds?
For any scheme $X$ and any morphism $f:\text{Spec} R \rightarrow X$, there exists a open affine subscheme $U \hookrightarrow X$ such that $f$ factors through $U$.
For example this is true when $R$ is local: choose a $U$ containing the image of the closed point, then $U$ will contain the whole image as it's stable under generalization.