Registry / database / mongoid-history

mongoid-history

JSON →
library0.8.5rbrubygemsunverified

Tracks historical changes for any Mongoid document, including embedded ones, with multi-user undo support.

gem install mongoid-history
INSTALL
IMPORT
SIG · MONGOID-HISTORY
M
mongoid-history
databaserubyv0.8.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mongoid::History
require 'mongoid-history'

Sets up history tracking on a Mongoid model.

require 'mongoid-history' class Post include Mongoid::Document include Mongoid::History::Trackable track_history :on => [:title, :body] end
Debug
Known issues
breakingRequires Mongoid 3.x or later; incompatible with older versions.
fix
Ensure your project uses Mongoid >= 3.0.
affects: < 0.5.0
Upgrade
Version history
0.8.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
mongoid-history — gem install mongoid-history · libregistry