Comments (5)
What do you think, @danielvlopes?
from polo.
How about
Polo.configure do
email_scrubber = ->(e) { # secret stuff }
pure_nonsense = -> (v) { # make nonsense }
obfuscate users: { email: email_scrubber },
credit_cards: { number: pure_nonsense}
end
or something like that
from polo.
This looks even better. Though I think this would break the existing api.
from polo.
I needed this feature so I made this #30
from polo.
Solved by #30
from polo.
Related Issues (20)
- nil exception in conjunction with globlaize 3 HOT 2
- Issue with PostgreSQL adapter: ActiveRecord::StatementInvalid: PG::ProtocolViolation: ERROR HOT 7
- Keep a CHANGELOG HOT 1
- Create a CSV translator HOT 2
- How are you using Polo? HOT 7
- SQLite Support
- Usage examples
- Multi Database tests HOT 3
- obfuscate does not work with lambda HOT 12
- Suggestion: Make the ID param optional HOT 5
- NoMethodError: protected method `column_for_attribute' called for HOT 4
- Postgres support HOT 16
- has_and_belongs_to_many relationships will not store join table HOT 3
- Suggestion: Expose instance to obfuscation strategies HOT 2
- Handle id sequences with care HOT 9
- Rails 5.2 support HOT 2
- Rails 6.0 support HOT 3
- Project Status HOT 3
- Stream queries when traversing database to reduce memory footprint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polo.