Forum: Ruby on Rails Multiple Undo History

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Sebastian F. (Guest)
on 2006-02-27 23:34
(Received via mailing list)
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
Tony C. (Guest)
on 2006-02-27 23:34
(Received via mailing list)
This topic is locked and can not be replied to.