RubyGems.org

This library tracks historical changes for any document, including embedded ones. It achieves this by storing all history tracks in a single collection that you define. 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. Mongoid-history 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, Daniel Doubrovkine

92,781 total downloads 1,664 for this version
Owners

D2d5c5e3d38f94fb0dcdd78749064479844c900811ca41c1a193664cda15e8133d925b45ac07ec0ae5bd04888f6c5b61

Licenses

MIT

Gemfile
gem 'mongoid-history', '~> 0.4.4'
Versions
  1. 0.4.4 July 21, 2014 (27 KB)
  2. 0.4.3 July 10, 2014 (27 KB)
  3. 0.4.2 July 1, 2014 (26.5 KB)
  4. 0.4.1 January 11, 2014 (23.5 KB)
  5. 0.4.0 July 12, 2013 (22 KB)
Show all versions (33 total)
Ruby Dependency
  1. >= 0