mongoid-history icon indicating copy to clipboard operation
mongoid-history copied to clipboard

Multi-user non-linear history tracking, auditing, undo, redo for mongoid.

Results 48 mongoid-history issues
Sort by recently updated
recently updated
newest added

Replaces https://github.com/mongoid/mongoid-history/pull/215. @mikwat Check this out? I find the overwriting of `has_and_belongs_to_many` very ugly and the whole code here feels a lot like a hack. Also I bet undo, redo...

I ll describe everything I've done just so I m not missing anything obvious, here is what I've done so far : 1) Created a class : ``` # app/models/history_tracker.rb...

bug?

I have a track_history with custom version_field set on a parent model, but the child model is still setting the default "version". I'll reference this issue since this would be...

bug?

currently there's no way to namespace trackers and trackables because the methods that take in class names do not expect namespacing. There should be a way to use namespaces as...

bug

HI Mongoid_userstamp Gem is not working with mongoid5. ( https://github.com/tbpro/mongoid_userstamp/issues/27) Do we have any alternative to store user_id when we create HistoryTracker object? Thanks

question

When I create a record, destroy it, than try to do undo that action, I get the following error: NoMethodError: undefined method `history_trackable_options' for nil:NilClass from .../mongoid-history-0.4.7/lib/mongoid/history/tracker.rb:52:in`undo_attr' Looking at the...

bug?

Hello, My stack: sinatra (1.4.5) mongoid (3.1.6) mongoid-history (0.4.4) Initializer: ``` Mongoid::History.tracker_class_name = :history_tracker ``` I have a models: ``` class HistoryTracker include Mongoid::History::Tracker end class Event include Mongoid::Document include...

bug?

Can you please advise is there is something wrong in the following configuration? I'm expecting to be able to track changes in the embedded address fields but the history_tracker model...

bug?

Hi, Let's imagine we're using **mogoid-history** for History Tracking on Articles and also using **devise** which implements _current_user_ for the controllers. Every time we create a new article, we need...

bug

Doing `undo!` or `redo!` on embedded objects on create/destroy doesn't correctly pass on the modifier. See `TODO` in `tracker#create_on_parent`. Go through specs and remove any `modifier_field_optional: true` unless explicitly tested....

bug