diff options
author | Tore Darell <toredarell@gmail.com> | 2008-10-07 22:16:28 +0200 |
---|---|---|
committer | Tore Darell <toredarell@gmail.com> | 2008-10-07 22:16:28 +0200 |
commit | b4da5f67708b2699a21f8bb39f4d10865c1814d4 (patch) | |
tree | 4292a27b09d11e3f1e37b1751e28ed87fb256865 /railties/doc/guides/actioncontroller/parameter_filtering.txt | |
parent | dfc0b1a716d17085224a375977a10407ba9bea24 (diff) | |
download | rails-b4da5f67708b2699a21f8bb39f4d10865c1814d4.tar.gz rails-b4da5f67708b2699a21f8bb39f4d10865c1814d4.tar.bz2 rails-b4da5f67708b2699a21f8bb39f4d10865c1814d4.zip |
Fix links in AC guide
Diffstat (limited to 'railties/doc/guides/actioncontroller/parameter_filtering.txt')
-rw-r--r-- | railties/doc/guides/actioncontroller/parameter_filtering.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/actioncontroller/parameter_filtering.txt b/railties/doc/guides/actioncontroller/parameter_filtering.txt index 663549d130..c4577d4f6d 100644 --- a/railties/doc/guides/actioncontroller/parameter_filtering.txt +++ b/railties/doc/guides/actioncontroller/parameter_filtering.txt @@ -1,6 +1,6 @@ == Parameter filtering == -Rails keeps a log file for each environment (development, test and production) in the "log" folder. These are extremely useful when debugging what's actually going on in your application, but in a live application you may not want every bit of information to be stored in the log file. The "filter_parameter_logging":http://api.rubyonrails.org/classes/ActionController/Base.html#M000837 method can be used to filter out sensitive information from the log. It works by replacing certain keys in the `params` hash with "[FILTERED]" as they are written to the log. As an example, let's see how to filter all parameters with keys that include "password": +Rails keeps a log file for each environment (development, test and production) in the "log" folder. These are extremely useful when debugging what's actually going on in your application, but in a live application you may not want every bit of information to be stored in the log file. The link:http://api.rubyonrails.org/classes/ActionController/Base.html#M000837[filter_parameter_logging] method can be used to filter out sensitive information from the log. It works by replacing certain keys in the `params` hash with "[FILTERED]" as they are written to the log. As an example, let's see how to filter all parameters with keys that include "password": [source, ruby] ------------------------- |