aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-09-10 12:39:07 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-09-12 18:51:55 +0300
commit9945cd097a46771aedfcb9abc110419198452022 (patch)
tree49f6ba832f20f0cc59d86fb35802afe099b63693 /activerecord
parentce1248a5b8944606e91edf1bc4f1f4962a4f658d (diff)
downloadrails-9945cd097a46771aedfcb9abc110419198452022.tar.gz
rails-9945cd097a46771aedfcb9abc110419198452022.tar.bz2
rails-9945cd097a46771aedfcb9abc110419198452022.zip
Clarify docs of `config.filter_parameters` and `#filter_attributes`
Add mention that `config.filter_parameters` also filters out sensitive values of database columns when call `#inspect` since #33756.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/core.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb
index 82cf7563a2..4f10cddc87 100644
--- a/activerecord/lib/active_record/core.rb
+++ b/activerecord/lib/active_record/core.rb
@@ -126,7 +126,7 @@ module ActiveRecord
class_attribute :default_connection_handler, instance_writer: false
##
- # Specifies columns which don't want to be exposed while calling #inspect
+ # Specifies columns which shouldn't be exposed while calling #inspect.
class_attribute :filter_attributes, instance_writer: false, default: []
def self.connection_handler