diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2018-09-07 08:09:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 08:09:41 -0400 |
commit | 2a470d73a75ebf8cd7975e469bd82586d9234442 (patch) | |
tree | e96e757058b3c088342e8c0681b87b9cde4ac1c3 /activerecord/CHANGELOG.md | |
parent | 736edb982856f0de04d4566f657c0c84f145e7ef (diff) | |
parent | 180dcd1bfa801ad132343c64245db606bd85ed96 (diff) | |
download | rails-2a470d73a75ebf8cd7975e469bd82586d9234442.tar.gz rails-2a470d73a75ebf8cd7975e469bd82586d9234442.tar.bz2 rails-2a470d73a75ebf8cd7975e469bd82586d9234442.zip |
Merge pull request #33756 from piecehealth/pr
Add `inspection_masks` to make values of sensitive database columns w…
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index a0ab0d30bc..09af076aa8 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,12 @@ +* Configuration item `config.filter_parameters` could also filter out sensitive value of database column when call `#inspect`. + + ``` + Rails.application.config.filter_parameters += [:credit_card_number] + Account.last.insepct # => #<Account id: 123, credit_card_number: [FILTERED] ...> + ``` + + *Zhang Kang* + * Deprecate `column_name_length`, `table_name_length`, `columns_per_table`, `indexes_per_table`, `columns_per_multicolumn_index`, `sql_query_length`, and `joins_per_query` methods in `DatabaseLimits`. |