Skip to content

Commit 88cceb9

Browse files
committed
Exec 'bin/rails app:update' for the rest of config/initializers/* files
1 parent 87720f8 commit 88cceb9

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Be sure to restart your server when you modify this file.
22

3-
# Configure parameters to be filtered from the log file. Use this to limit dissemination of
4-
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
5-
# notations and behaviors.
3+
# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
4+
# Use this to limit dissemination of sensitive information.
5+
# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
66
Rails.application.config.filter_parameters += [
7-
:password, :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
7+
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
88
]

config/initializers/inflections.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

1313
# These inflection rules are supported but not enabled by default:
1414
# ActiveSupport::Inflector.inflections(:en) do |inflect|
15-
# inflect.acronym 'RESTful'
15+
# inflect.acronym "RESTful"
1616
# end
Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
# Be sure to restart your server when you modify this file.
2+
13
# Define an application-wide HTTP permissions policy. For further
2-
# information see https://developers.google.com/web/updates/2018/06/feature-policy
3-
#
4-
# Rails.application.config.permissions_policy do |f|
5-
# f.camera :none
6-
# f.gyroscope :none
7-
# f.microphone :none
8-
# f.usb :none
9-
# f.fullscreen :self
10-
# f.payment :self, "https://secure.example.com"
4+
# information see: https://developers.google.com/web/updates/2018/06/feature-policy
5+
6+
# Rails.application.config.permissions_policy do |policy|
7+
# policy.camera :none
8+
# policy.gyroscope :none
9+
# policy.microphone :none
10+
# policy.usb :none
11+
# policy.fullscreen :self
12+
# policy.payment :self, "https://secure.example.com"
1113
# end

0 commit comments

Comments
 (0)