-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
69 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Be sure to restart your server when you modify this file. | ||
|
||
# Configure parameters to be filtered from the log file. Use this to limit dissemination of | ||
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported | ||
# notations and behaviors. | ||
# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file. | ||
# Use this to limit dissemination of sensitive information. | ||
# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors. | ||
Rails.application.config.filter_parameters += %i[ | ||
password passw secret token _key crypt salt certificate otp ssn | ||
password passw email secret token _key crypt salt certificate otp ssn cvv cvc | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Be sure to restart your server when you modify this file. | ||
# | ||
# This file eases your Rails 8.0 framework defaults upgrade. | ||
# | ||
# Uncomment each configuration one by one to switch to the new default. | ||
# Once your application is ready to run with all new defaults, you can remove | ||
# this file and set the `config.load_defaults` to `8.0`. | ||
# | ||
# Read the Guide for Upgrading Ruby on Rails for more info on each option. | ||
# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html | ||
|
||
### | ||
# Specifies whether `to_time` methods preserve the UTC offset of their receivers or preserves the timezone. | ||
# If set to `:zone`, `to_time` methods will use the timezone of their receivers. | ||
# If set to `:offset`, `to_time` methods will use the UTC offset. | ||
# If `false`, `to_time` methods will convert to the local system UTC offset instead. | ||
#++ | ||
# Rails.application.config.active_support.to_time_preserves_timezone = :zone | ||
|
||
### | ||
# When both `If-Modified-Since` and `If-None-Match` are provided by the client | ||
# only consider `If-None-Match` as specified by RFC 7232 Section 6. | ||
# If set to `false` both conditions need to be satisfied. | ||
#++ | ||
# Rails.application.config.action_dispatch.strict_freshness = true | ||
|
||
### | ||
# Set `Regexp.timeout` to `1`s by default to improve security over Regexp Denial-of-Service attacks. | ||
#++ | ||
# Regexp.timeout = 1 |