~/talk

Perfect is too expensive

Talkat XO Ruby Chicago 2025 · on Saturday, 2025-09-06· [databases]
slides:none on file

Every nontrivial app accumulates impossible rows and full prevention is unaffordable, so the talk argues for regular automated checks: a small recheck gem that introspects Rails validations, generates SQL queries, and runs them in production. It cites surprises like Stripe processing 1.4 trillion and an estimate of roughly one in 250,000 records being invalid, shows a Lobsters demo that finds 3 bad stories among ~120,000, and explains why SQL constraints or triggers alone don’t solve the problem.

AI-written summary · about

  1. 0:00Introduction
  2. 3:19Perfect validation impossible
  3. 8:39Trade-offs in Rails and DB
  4. 13:35Race conditions and state
  5. 18:49SQL constraints limits
  6. 22:21Introducing recheck
  7. 27:21Checks as solution
~/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.