阅读背景:

是否可以将错误添加到ActiveRecord对象而不将它们与特定属性相关联?

来源:互联网 

If you need to code a considerably complex validation, the error sometimes doesnt lie in a particular attribute, but in a combination of several of them.If you need to code a considerably complex vali




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: