Closed pjmartorell closed 2 years ago
Here is the restore! method, should be pretty easy to debug it you want to take a stab at it
Thanks, I debugged the code you pointed out, specially this block:
if children_to_keep.exclude?(key)
delete_method.call(child_record)
end
and I saw I got mistaken when restoring different snapshots. Thanks and sorry for the inconvenience.
Hi, taking this code as an example:
and having the following
Assembly
class:I noticed that, when restoring a snapshot, the
Manifest
records that were destroyed before the snapshot are re-created, that's okay. But the ones that were created after the snapshot are not destroyed. Do you know what can be the issue or if there is any workaround? I can give you a more detailed example but it will take a while for me to create a minimum working example.