Acts As Versioned With Associations
class Article < ActiveRecord::Base has_many :images has_and_belongs_to_many :categories acts_as_versioned acts_as_versioned_association :images acts_as_versioned_association :categories end
Now, not only is the article versioned but also the associations. I can’t quite think of something I would use it on yet, but it is a pretty cool idea. You can read more on Richard’s blog.