module DirtyTracking
Definitions
def patch_data
Data for a strategic-merge patch: only what changed.
Signature
-
returns
Hash the diff between the clean snapshot and now.
Implementation
def patch_data
deep_diff(to_h, @clean)
end