Forum: Ruby on Rails [ANN] acts_as_versioned_association plugin

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Richard L. (Guest)
on 2006-06-08 20:54
(Received via mailing list)
Building on the great 'acts_as_versioned' plugin by technoweenie, I've
written a small plugin which also stores versions of associations.
It's early and experimental at the moment, but does work.

For example:

class Article < ActiveRecord::Base

   has_many :images
   has_and_belongs_to_many :categories

   acts_as_versioned_association :images
   acts_as_versioned_association :categories


So now the Article model is versioned as usual, but also the associated
images and categories are saved with each version too.

There's more on my blog post, and feedback would be very welcome.

Grab it here:
This topic is locked and can not be replied to.