The Undo restores previous object state. Lightweight, modular and very flexible library that works as with Rails, as with plain Ruby.
Alexander Paramonov
MIT