~/talk

Rails Framework Defaults: Defusing the Time Bomb in Your Upgraded App

Talkat RailsConf 2025 · 2025-07-08..07-10· [ruby-on-rails]
slides:none on file

Upgrading Rails 5 → 7 at Donut reveals that the app still breaks unless config.load_defaults = 6.0 and each entry in new_framework_defaults.rb is audited and opt‑ed into one by one. The plan uses tests, git blame, reading PRs, occasional cookie rotator scripts and feature flags to toggle risky changes. Going fast by deleting the overrides commonly produces runtime errors; the slow incremental enablement plus monitoring and rollbacks proves reliable and avoids the “time bomb” of frozen, insecure, or incompatible defaults.

AI-written summary · about

  1. 0:00Rails framework defaults
  2. 3:35What are Rails defaults
  3. 7:59Why defaults change
  4. 10:45How defaults files work
  5. 15:01Risks of ignoring defaults
  6. 17:06Preparing for upgrade
  7. 20:18Fast vs slow upgrade
  8. 23:07Improving docs on changes
  9. 24:54Next steps for upgrade
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.