From b65cb790f19be8f9e3756f767c0e3182a11128d7 Mon Sep 17 00:00:00 2001 From: Kristina Spurgin Date: Wed, 13 Sep 2023 15:24:02 -0400 Subject: [PATCH] Add tip to documentation --- doc/iterative_cleanup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/iterative_cleanup.md b/doc/iterative_cleanup.md index 6f05cfb2b..a33ea8ea6 100644 --- a/doc/iterative_cleanup.md +++ b/doc/iterative_cleanup.md @@ -199,6 +199,8 @@ data back into the migration, and identifying whether a given value in subsequent worksheet iterations has been previously included in a worksheet. +**TIP**: You can add the `:fingerprint` by defining a `base_job_cleaned_pre_xforms` method in your cleanup module config. I've done this in several kiba-tms cleanup configs where the base tables are generated by other complicated automated processes, where it'd be a nightmare to work in the addition of the fingerprint field. See [Kiba::Tms::AltNumsForRefmasterTypeCleanup](https://github.com/lyrasis/kiba-tms/blob/main/lib/kiba/tms/alt_nums_for_refmaster_type_cleanup.rb) as an example. + #### Required before extending `IterativeCleanup`: `fingerprint_fields` The fields that will be hashed into the `:clean_fingerprint` value.