Version your associations
The most frequent question I get asked about my acts_as_versioned plugin is How do you version associations? I have no desire to open that can of worms unless I absolutely need it in a project. "Richard Livsey":http://livsey.org decided he needed this feature, and created "acts_as_versioned_association":http://livsey.org/articles/2006/06/08/acts_as_versioned_association-plugin.
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
related
- 2010 Aug 03 Protocol Buffers with Riak for Node.js
- 2010 Jul 13 In-Process Node.js Queues
- 2010 Jul 07 Geek Talk Interview
- 2010 Jun 28 Tee and Child Processes
- 2010 Jun 23 You can let go now
- 2010 May 17 Railsconf: Building APIs
- 2010 May 10 Nori: Node.js Riak wrapper
- 2010 May 10 No, I did not create a mobile phone framework too
- 2010 May 04 Escaping your test suite with your life
- 2010 Apr 05 Will the iPad kill comic books?

