public
Fork of technoweenie/acts_as_versioned
Description: ActiveRecord plugin for versioning your models.
Home | Edit | New

Home

This is a forked repository. Have a look at
technoweenie’s acts_as_versioned wiki
for more information.

The modifications I’ve made to acts_as_versioned are covered in my blog entry. The basics are that I added an optional second parameter to revert_to! that will let you delete all newer versions than the one you’re reverting to, and also all versions now track what attributes were updated for that version (so you can show what attributes changed between versions, etc.).

Also, I’ve now added the earliest? and latest? methods to the Version object, so that you can query a version instance if it’s the earliest or latest.

Last edited by chris, Fri Jul 11 21:06:26 -0700 2008
Home | Edit | New
Versions: