~/talk

The Case Of The Vanished Variable - A Ruby Mystery Story

Talkat RubyConf Mini 2022 · 2022-11-15..11-17· [ruby]
slides:none on file

A debugging story that proves how specifics matter: a grants script awarding 50+30+20 should total 100 but reads back 300 because class variables share across an inheritance chain, a stray reopened Grant sets a class var to 300, and copy‑paste left a hidden overwrite. Investigation uses Ruby and Rails, a prize app StoryGraph with 3M monthly users and 110M requests, and culminates in a Ruby core change — Ruby 3.1 class variable cache — that yields a 6–7% Rails throughput win.

AI-written summary · about

  1. 0:00Start
  2. 6:06Deirdre Bug
  3. 6:35CHAPTER ONE
  4. 11:11CHAPTER TWO
  5. 16:20CHAPTER THREE
  6. 22:10CHAPTER FOUR
  7. 26:25CHAPTER FIVE
  8. 33:01CHAPTER SIX
  9. 37:05Learn Ruby
  10. 37:21Improve Ruby
  11. 37:51Keep Ruby alive
~/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.