阅读背景:

使用版本及其与版本的关联存储ActiveRecord模型的最佳方法是什么?

来源:互联网 

If all I have is one model (for example Wiki) and want to save it along with its versions, I could use acts_as_versioned plugin which stores the wikis in "wikis" table and its versions in "wikis_versions" table. This is plain an simple even if I want to moderate the latest version before showing it to the public using a field as status with "pending review/ published".If all I have is one model (for example Wiki) a




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

分享到: