~/talk

Don’t be afraid of the scary red error messages;...

Talkat RailsConf 2023 · 2023-04-24..04-26· [testing]
links:none on file
slides:none on file

Argues red error pages are helpful and shows concrete workflows that work: inspect the interactive Rails error page, read the stack trace, spot a Shuffle typo, debug a Pig Latin bug where 42 is an integer not a string, trace a seeds failure to decorate_works_type on line 11 in child_indexer.rb inside a vendor/triple gem. Demonstrates tools and habits: set breakpoints with pry, byebug and web_console, use tdd to catch logic bugs, plus cautious use of ChatGPT/Copilot and team Slack threads as documented fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 3:39Normalizing failure
  3. 7:29Failure as learning
  4. 10:18Handling errors
  5. 18:32Debugging tools
  6. 22:45Common mistakes
  7. 27:08Online resources
  8. 30:20Asking for help
  9. 32:30Q&A
~/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.