阅读背景:

当处理文件before_save时出错,验证后,我应该引发异常还是返回false并添加错误?

来源:互联网 

If I have, for example, an image that pass all the validations, like, size, dimensions, type, etc, but when I have to process it, for some unknown reason ImageMagick throws an error anyway... how should I handle that? If I have, for example, an image that pass all




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

分享到: