data-anonymization
data-anonymization copied to clipboard
Anonymize dependent columns
An example is zip and city. It would be very useful if a randomly generated zip code actually matches the correct city. this could be achieved by a syntax like this:
anonymize('zip', 'city').using FieldStrategy::RandomRandomZipcodeAndCity.new
the strategy would then return and array and assign the result to the fields.