https://github.com/mnutt/redact-rack
Redact words from your ******* rack app
https://github.com/mnutt/redact-rack
Last synced: 12 months ago
JSON representation
Redact words from your ******* rack app
- Host: GitHub
- URL: https://github.com/mnutt/redact-rack
- Owner: mnutt
- Created: 2009-03-10T03:13:21.000Z (over 17 years ago)
- Default Branch: master
- Last Pushed: 2009-03-10T17:26:14.000Z (over 17 years ago)
- Last Synced: 2025-02-27T01:26:00.047Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 246 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
redact-rack: automatically redact words on your website
Rails usage:
# config/environment.html
config.middleware.use "Rack::Redact", YAML::load_file("#{RAILS_ROOT}/config/redacted.yml")
It takes one argument, an array of words to censor.