~/talk

Case of the Peculiar Pattern

Talkat Brighton Ruby 2025 · on Thursday, 2025-06-19· [ruby-on-rails]
slides:none on file

A production bug breaks reading-circles during an Apple feature launch: pattern matching appears wrong but debugging in IRB with ObjectSpace.object_id and reachable_objects_from reveals every group references the same default array from Hash.new, so different keys share one object and mutations collide. The fix replaces the shared default with a block like Hash.new { |h,k| h[k] = [] }, tests are added, and the feature deploys successfully with traffic surge handled.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:08Building StoryGraph with Ruby on Rails
  3. 7:49Case of the peculiar pattern begins
  4. 9:34Debugging the reading circles code
  5. 14:58Collaborating with Nice One
  6. 20:18Discovering the hash default issue
  7. 23:32Fixing the bug and understanding Ruby behavior
  8. 27:45Aftermath and community reflection
  9. 31:39Revelation of Nice One's identity
  10. 33:04Call to community kindness
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.