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

Hi, This gem supports Mongoid 7?

bug

We are getting a warning when classes are being loaded: `WARN -- : Overwriting existing field version in class MyClassA` The reason this is happening is due to the fact...

#244 - allow the tracker to track embedded relations #245 - handle `nil` original value for an embeds_many relation

I have a case where I am loading model attributes from YML and the history tracking of an embedded relation was failing on line 93 of update.rb. The `value[0]` value...

bug

I am using set method at multiple places for updating fields. This doesnot track updates when made using 'set' method. How can I achieve this ?

feature request

In tracker.rb... ```ruby def tracked_changes @tracked_changes ||= (modified.keys | original.keys).inject(HashWithIndifferentAccess.new) do |h, k| h[k] = { from: original[k], to: modified[k] }.delete_if { |_, vv| vv.nil? } h end.delete_if { |k,...

bug?

I'm trying to track all changes to a model object and its embedded documents, as described in the "Include embedded objects attributes in parent audit" section of the [README](https://github.com/mongoid/mongoid-history/blob/master/README.md). My...

bug?

I have a unique requirement. There is not many places i can ask this question because there is hardly any material on stackoverflow for this gem. I have added history...

question

When we perform the undo action, is there a way to use undo action twice in a row ? In my experince when u perform the undo action, the next...

feature request

It looks like right now, the default tracker is based either on an explicit configuration in a rails initializer (optional) or whatever tracker gets loaded first. I think the config...

bug?