Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anonymize dependent columns #34

Open
leifg opened this issue May 24, 2016 · 0 comments
Open

Anonymize dependent columns #34

leifg opened this issue May 24, 2016 · 0 comments

Comments

@leifg
Copy link

leifg commented May 24, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant