Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在创建了大约 1000 条记录后,我已将 Papertrail gem 添加到我的应用程序中。
有谁知道如何用我的数据的当前版本填充版本表?
如果不这样做,似乎只有每个的第二个更改才能让我正确地进行比较/标记通过差异等更改的内容。
非常感谢!
一种快速而肮脏的方法是只创建一个更新单个字段的循环,例如在字符串字段中添加一个空格或一些无害的东西。