module DirtyTracking
Definitions
def patch_data
Data suitable for a strategic-merge patch: only the keys/sub-trees that differ from the clean snapshot.
Implementation
def patch_data
deep_diff(to_h, @clean)
end