Keynote: The Case Of The Vanished Variable - A Ruby Mystery Story
summary
A grant-assignment bug turns out to be caused by class variables shared up the inheritance chain so three award classes report a combined 300 total instead of separate counts; the immediate fix is deleting a stray reopen that set a class variable to 300 and rerunning the scripts yields correct totals. Investigation uses Git diffs and simple repro scripts, leads to a Ruby core cache for class-variable lookup, landed in Ruby 3.1, and delivers a measured 6–7% Rails request throughput gain.
AI-written summary · about
chapters (9)
- 0:00Keynote
- 3:52Ruby PI Deidre Buck
- 4:56Vanished variable begins
- 9:28Detective assignment
- 14:04Mystery deepens
- 16:41Hidden sabotage
- 23:42Sabotage plot
- 25:52Ruby internals impact
- 36:54Closing thoughts
related talks
39mThe Case Of The Vanished Variable - A Ruby Mystery Story
45mClosing Keynote: Analyzing and Reducing Ruby Memory Usage
28mImproving CVAR performance in Ruby 3.1
49mKeynote: Simple goal. Hard to accomplish
49mKeynote: Multitudes
44mKeynote
24mRuby Performance Secrets and How to Uncover Them
01h 24mKeynote
