attr_masker
attr_masker copied to clipboard
A fork of attr_encrypted, repurposed to handle data masking in test databases
Database Cleaner 2.0 is out, get ready for that.
First, Thank you for this gem! So, I definitely see an argument for putting the `attr_masker` calls inside the models as its currently implemented. But there is also an argument...
The latest Rails 6.1 is two major versions ahead Rails 4.2. Upcoming API changes will be a good occasion to drop support for the latter. Also, we should drop support...
Currently, the default redaction action is to slap a `"(redacted)"` on the original String. This could be made more flexible. But by default it should also be internationalized (i18n). Target...
- [x] `Proc` as parameter - [ ] create some default scrambling algorithms - [ ] structured-text-preserving algorithms - _e.g._, keeping an HTML snippet valid HTML, but with masked inner...
This question is somewhat a continuation of my discussion with @ronaldtse in the #5, which consisted of following two comments. >*skalee*: I wonder what the `:column_name` option is for. Apparently...
No record should become invalid in the result of masking. The Rake task should loudly fail in the attempt of invalid record creation. Or, if it's difficult, we should at...
Currently, there's basically zero tests. Write tests to cover all configurations. - [x] Write specs for the default (optionless) usage - [x] Write specs for using custom maskers - [x]...