Commit be50290
Upgrade config.load_defaults from 5.2 to 8.0
Migrates Rails configuration defaults to match Rails 8.1 runtime.
This enables modern security and performance features:
- Same-site cookies and secure cookie metadata
- belongs_to associations require presence by default
- SHA256 for key derivation and HMAC
- Query log tags for debugging
- Regexp timeout (ReDoS protection)
- Strict HTTP freshness checking
Removes deprecated to_time_preserves_timezone setting (now default).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4a94fa8 commit be50290
File tree
2 files changed
+3
-35
lines changed- config
- initializers
2 files changed
+3
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
This file was deleted.
0 commit comments