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

Sanitize all text/string fields by default #6

Open
aaronchi opened this issue Apr 20, 2014 · 2 comments
Open

Sanitize all text/string fields by default #6

aaronchi opened this issue Apr 20, 2014 · 2 comments

Comments

@aaronchi
Copy link

Would be nice to have the option to sanitize all relevant fields automatically without defining each one. Similar to this gem:
https://github.com/nagybence/railhead_sanitize

@vjt
Copy link
Owner

vjt commented Apr 20, 2014

Hi, thanks for the suggestion. But my point of view is that everyone has different relevant fields, and you may not want the gem to automatically mangle your fields - rather you define what's relevant for you, and enable sanitizing on those 😸.

Does this answer your question?

@vjt
Copy link
Owner

vjt commented Apr 20, 2014

Another option would be a special :all keyword, that enables sanitizing on all varchar and text fields. That is definitely feasible, and it would be useful.

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

2 participants