RubyGems Navigation menu

mongoid-history-patched 0.2.3

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.3 - October 10, 2012 (16 KB)

Runtime Dependencies (2):

easy_diff >= 0
mongoid >= 2.0.0

Development Dependencies (6):

bson_ext >= 0
bundler >= 1.0.0
jeweler >= 0
rspec >= 0
yard >= 0

Owners:

Authors:

  • Aaron Qian, Justin Grimes

SHA 256 checksum:

9d2e23b4b4712b1ce9e90325b2ce5e384b955baebea3b315ee807f745859179d

Total downloads 3,929

For this version 3,929

Licenses:

N/A

Required Ruby Version: None

Links: