RubyGems.org

In frustration of Mongoid::Versioning, I created this plugin for tracking historical changes for any document, including embedded ones. It achieves this by storing all history tracks in a single collection that you define. (See Usage for more details) Embedded documents are referenced by storing an association path, which is an array of document_name and document_id fields starting from the top most parent document and down to the embedded document that should track history. This plugin implements multi-user undo, which allows users to undo any history change in any order. Undoing a document also creates a new history track. This is great for auditing and preventing vandalism, but it is probably not suitable for use cases such as a wiki.

installgem install mongoid-history
Authors

Aaron Qian, Justin Grimes

33,175 total downloads 950 for this version
Owners

D2d5c5e3d38f94fb0dcdd787490644793d925b45ac07ec0ae5bd04888f6c5b61

Licenses

MIT

Gemfile
gem "mongoid-history", "~> 0.3.3"
Versions
  1. 0.3.3 April 1, 2013
  2. 0.3.2 January 24, 2013
  3. 0.3.1 November 16, 2012
  4. 0.3.0 August 21, 2012
  5. 0.2.4 August 21, 2012
Show all versions (28 total)