database design - Version control of text fields in rails application -


i'm planning new app handle multiple text fields on many projects many users. ie, there lot of text fields manage.

a key feature ability "roll back" view , update previous versions of each , every text field.

can give me advice on how best handle this?

it seems there huge amount of data if each , every version of each , every potential text field stored in same table. may way, , there nothing wrong storing each , every version in it's entirety?

i thought there might smart approach though?

i suggest using versioning library paper_trail. log changes fields tell track. if you're concerned amount of data needs stored might prefer library vestal_versions, stores changes made, not complete copy of each version.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -