阅读背景:

有没有办法让Rails ActiveRecord属性私有?

来源:互联网 

By default, ActiveRecord takes all fields from the corresponding database table and creates public attributes for all of them.By default, ActiveRecord takes all fields from




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

分享到: