Plugins - Undo helper
Add to favoritesAdd an undo button to your Rails app.
Maintains a stack of undo actions in the session, so users can cancel actions by clicking the Undo button.
Use undo.push to add a new undo action, and undo.pop to remove it. Use undo.render to render the Undo button.
See the RDoc for more details, or read more here, including how to use with before_filter and RJS.
