简体   繁体   中英

Rails undo at database level

I'd line to create some kind of undo in my rails app, that's based on an sqlite3 database. For now, a database wide undo would suffice, I mean an undo that can return back in time through states of the whole database, not single tables (for avoiding problems with references etc..)

I found vestal_versions, but it's table level and a bit too complicated for what I need.. don't you think?

I haven't found a full-stack solution to this problem, but check out ActiveLog and Memento .

Don't forget to share you solution here! :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM