Skip to content

Commit f9bb1e6

Browse files
Ran app:update
1 parent 8b9509e commit f9bb1e6

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

config/initializers/filter_parameter_logging.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
55
# notations and behaviors.
66
Rails.application.config.filter_parameters += %i[
7-
passw secret token _key crypt salt certificate otp ssn
7+
passw email secret token _key crypt salt certificate otp ssn cvv cvc
88
]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Be sure to restart your server when you modify this file.
2+
#
3+
# This file eases your Rails 8.0 framework defaults upgrade.
4+
#
5+
# Uncomment each configuration one by one to switch to the new default.
6+
# Once your application is ready to run with all new defaults, you can remove
7+
# this file and set the `config.load_defaults` to `8.0`.
8+
#
9+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
10+
# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html
11+
12+
###
13+
# Specifies whether `to_time` methods preserve the UTC offset of their receivers or preserves the timezone.
14+
# If set to `:zone`, `to_time` methods will use the timezone of their receivers.
15+
# If set to `:offset`, `to_time` methods will use the UTC offset.
16+
# If `false`, `to_time` methods will convert to the local system UTC offset instead.
17+
#++
18+
# Rails.application.config.active_support.to_time_preserves_timezone = :zone
19+
20+
###
21+
# When both `If-Modified-Since` and `If-None-Match` are provided by the client
22+
# only consider `If-None-Match` as specified by RFC 7232 Section 6.
23+
# If set to `false` both conditions need to be satisfied.
24+
#++
25+
# Rails.application.config.action_dispatch.strict_freshness = true
26+
27+
###
28+
# Set `Regexp.timeout` to `1`s by default to improve security over Regexp Denial-of-Service attacks.
29+
#++
30+
# Regexp.timeout = 1

0 commit comments

Comments
 (0)