[ci-skip][Docs]Add encryption.add_to_filter_parameters to configuring.md (#49443)

* Add encryption.add_to_filter_parameters to configuring.md

encryption.add_to_filter_paramters has been merged by https://github.com/rails/rails/pull/46453.

(This PR is a second try of https://github.com/rails/rails/pull/49364 )

* Update entry for encryption.add_to_filter_parameters

Co-authored-by: Rafael Mendonça França <rafael@rubyonrails.org>
This commit is contained in:
Shozo Hatta 2023-10-02 19:39:40 +09:00 committed by GitHub
parent af2b1daf1d
commit b10a2e4943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1604,6 +1604,12 @@ whether a foreign key's name should be dumped to db/schema.rb or not. By
default, foreign key names starting with `fk_rails_` are not exported to the
database schema dump. Defaults to `/^fk_rails_[0-9a-f]{10}$/`.
#### `config.active_record.encryption.add_to_filter_parameters`
Enables automatic filtering of encrypted attributes on `inspect`.
The default value is `true`.
#### `config.active_record.encryption.hash_digest_class`
Sets the digest algorithm used by Active Record Encryption.