Remove ActiveModel::Errors#add_on_present method.
We don't need to define a new method in ActiveMode::Errors for each validatior. See https://github.com/rails/rails/commit/d72a07f1d1478db9daed847eadb35bfd840674f6#commitcomment-2325333
Showing
想要评论请 注册 或 登录