阅读背景:

有没有办法防止rails中的序列化属性更新,即使没有更改?

来源:互联网 

This is probably one of the things that all new users find out about Rails sooner or later. I just realized that rails is updating all fields with the serialize keyword, without checking if anything really changed inside. In a way that is the sensible thing to do for the generic framework.This is probably one of the things that all new




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

分享到: