~/talk

Gems Are Overrated

Talkat Balkan Ruby 2026 · 2026-05-15..05-16· [ruby]
links:none on file
slides:none on file

Many popular utility gems are large because they solve everyone’s use cases; examples show the gap: Pagy: 2,835 → 32 lines, Pundit: 1,124 → 30 lines, LogRage: 863 → 51 lines. The approach reads a gem’s source, extracts the exact logic needed, and consolidates it into a single file (AI can automate the refactor), which reduces dependency churn, supply‑chain exposure and maintenance overhead. This applies to small focused utilities but not to crypto, large frameworks, or cases that require ongoing security patching.

AI-written summary · about

  1. 0:00Introduction and hot take
  2. 3:42Who is the speaker
  3. 4:22Why we use gems
  4. 6:49The gap in gem functionality
  5. 7:12Pagy case study
  6. 10:16Pundit case study
  7. 12:20LogRage case study
  8. 15:14Benefits of copying code
  9. 16:18Reading gem source code
  10. 17:07AI's role in simplifying
  11. 19:02When not to copy code
  12. 20:33Impact on open source
  13. 22:15Gems as blueprints
  14. 23:01Closing thoughts
~/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.