Wow code, such read!
summary
Goal is to read and change code to fix real behavior: slow ActiveRecord SQL traces don’t include EXPLAIN because queries arrive parameterized as $1 while the agent used execute. Solution is to switch to the adapter’s exec_query and pass the binds payload so EXPLAIN runs and returns plans; change ships in the gem version 3.15.2. Workflow uses a local clone of Rails, grep/git-blame, inserting puts/binding.pry, and Ruby introspection like caller and source_location.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 3:42Code archaeology approach
- 7:17Locally inspecting source code
- 10:07Clarifying questions while reading
- 12:15Pair programming benefits
- 18:23Recap of reading strategies
- 20:54Reading Ruby’s C source code
- 26:16Ruby source code navigation tips
- 27:20Resources for reading code
- 31:16Q&A and closing








