Multiple Undo History


#1

I need to implement multiple undo functionality into a Rails app (my
first one). Essentially, every .update and .save needs to record the
previous data set and save them in a history table along with some
identifying stamps, so each db action can be rolled back at any time.
From what i can tell, i could implement this manually using
observers perhaps; but this is Rails, so i wonder if there isn’t
anything in the framework to make this a little easier. I’m not
asking to spell out the exact solution for me, of course, just to
point me in the right direction if there is anything in Rails that
could help me with this. Thanks.

sebastian


#2

This should help:

http://wiki.rubyonrails.com/rails/pages/ActsAsVersioned

Regards,
Tony