Skip to content

Commit be3d657

Browse files
committed
Rails 8.0: Enable all framework defaults
1 parent 7fe9d49 commit be3d657

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/initializers/new_framework_defaults_8_0.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
# If set to `:offset`, `to_time` methods will use the UTC offset.
1616
# If `false`, `to_time` methods will convert to the local system UTC offset instead.
1717
#++
18-
# Rails.application.config.active_support.to_time_preserves_timezone = :zone
18+
Rails.application.config.active_support.to_time_preserves_timezone = :zone
1919

2020
###
2121
# When both `If-Modified-Since` and `If-None-Match` are provided by the client
2222
# only consider `If-None-Match` as specified by RFC 7232 Section 6.
2323
# If set to `false` both conditions need to be satisfied.
2424
#++
25-
# Rails.application.config.action_dispatch.strict_freshness = true
25+
Rails.application.config.action_dispatch.strict_freshness = true
2626

2727
###
2828
# Set `Regexp.timeout` to `1`s by default to improve security over Regexp Denial-of-Service attacks.
2929
#++
30-
# Regexp.timeout = 1
30+
Regexp.timeout = 1

0 commit comments

Comments
 (0)