Dissecting Ruby with Ruby
summary
Source code navigation is literal and practical here: use bundle open to drop into library files, use Ruby introspection like method.source_location plus caller, ancestors, instance_method and method_defined to find exactly which file and line produce a URL bug, then patch locally and submit a PR. The demo shows a real Rails bug fixed by string concatenation checks, explains responsible disclosure for wicked, and surfaces small reproducible changes that actually land in upstream.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:07Dissecting Ruby with Ruby
- 0:42SCHNAPPS
- 1:55Sextant
- 3:46Ruby Task Force
- 9:28Tracer Round
- 13:02File
- 14:28Solution
- 15:56Fails
- 23:55Verify Caller
- 24:05It checks out
related talks
27mDissecting Ruby with Ruby
39mPerusing the Rails Source Code - A Beginners Guide
34mCode Spelunking: teach yourself how Rails works
34mSource-Diving for Fun and Profit
37mPrying Open The Black Box
29mYes, You Can Work on Rails & any other Gem
38mSpelunking in Ruby
32mDeep diving: how to explore a new code base
