Mongoid-history 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.

This gem also 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 is probably not suitable for use cases such as a wiki (but we won't stop you either).

Code Quality Rank: L5
Monthly Downloads: 17,876
Programming language: Ruby
License: MIT License
Tags: ORM/ODM Extensions     Auditing     Projects    

mongoid-history alternatives and related gems

Based on the "Auditing" category

Do you think we are missing an alternative of mongoid-history or a related project?

Add another 'Auditing' Gem

mongoid-history Recommendations

There are no recommendations yet. Be the first to promote mongoid-history!

Have you used mongoid-history? Share your experience. Write a short recommendation and mongoid-history, you and your project will be promoted on Awesome Ruby.
Recommend mongoid-history

Recently added mongoid-history resources

Do you know of a usefull tutorial, book or news relevant to mongoid-history?
Be the first to add one!