简体   繁体   English

Rails gem:保留所有版本的数据库对象并保存与用户链接的更改的最佳方法是什么?

[英]Rails gem: What is the best way to keep all versions of database objects and to save changes linked to a user?

I have a collaborative app environment, where I need to store/log information on who changes what in the system. 我有一个协作应用程序环境,需要在其中存储/记录有关谁在系统中进行更改的信息。

All versions of every object needs will be saved with user information, and no data can ever be deleted. 每个对象需求的所有版本都会与用户信息一起保存,并且永远不会删除任何数据。

What should I look at besides extending vestal_versions? 除了扩展vestal_versions,我应该看什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Rails 中进行每用户数据库连接的最佳方法是什么 - What is the best way to do per-user database connections in Rails Rails:更改生产数据库的最佳方式 - Rails: Best way to make changes to a production database 在本地更改宝石然后还原更改的最佳方法是什么 - what is the best way to change a gem locally and then revert changes 导轨 - 保存“鉴于答案”数据库的最佳方式? - Rails - Best way to save “Given Answer” in database? Rails 5,将图像保存到数据库的最佳方法? - Rails 5, best way to save an image to the database? 在 Ruby on Rails 中更新数据库时保留临时版本的最佳方法是什么? - What is the best way to keep temporary version of database while it is being updated in Ruby on Rails? 用于用户组的最佳Rails宝石是什么? - What's the Best Rails Gem to use for User Groups? 有所有依赖关系的rails版本升级的最佳实践是什么? - What are the best practices for upgrading rails versions with all the dependencies? Rails:在内存中保留对对象/关联的更改而不保存到数据库 - Rails: Keep changes to objects/associations in memory without saving to database 为Ruby on Rails设计数据库的最佳方法是什么? - What is the best way to design database for Ruby on Rails?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM