~/talk

Resolve Errors Straight from the Error Pages

Talkat RailsConf 2019 · 2019-05-01..05-03· [ruby-on-rails]
slides:none on file

Rails 6 ships actionable errors that put buttons on developer error pages to run fixup code, implemented by adding an ActionSupport::ActionableError module to exceptions, rendering buttons inside ActionDispatch::DebugExceptions, and dispatching them with an ActionableExceptions middleware. An Interceptor API replaces fragile monkey‑patches so middleware and error trackers can observe exceptions cleanly. The plugin pattern mirrors pending migrations: detect the missing setup (Active Storage / Action Mailbox), raise an actionable error and offer an install action; the demo hiccups but the feature is merged.

AI-written summary · about

  1. 0:00Start
  2. 0:14Pain Free Rails
  3. 2:38Resolve Errors Straight from the Error Pages!
  4. 8:28Error Handling in Rails
  5. 8:45Rack Application
  6. 10:00Rack Middleware
  7. 10:39Rails Middleware Stack
  8. 21:11The Interceptor API
  9. 21:58Application vs Framework Traces
  10. 23:36Actionable Errors
  11. 25:37Strategies
  12. 25:50Middleware Checker
  13. 26:43Act on Existing Errors
~/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.