Breaking Down the Barrier: Demystifying Contributing to Rails
summary
Lab shows how to turn a title into results: a runnable ActiveRecord reproduction script that actually reproduces the bug, measured speedups with Benchmark IPS (example: array sampling becomes ~18× faster), code navigation with CTags and Kernel#source_location, dynamic-method tracing using TracePoint, and bisecting to the first bad commit plus interactive rebase/squash to produce clean history. CI with Travis runs full matrix; demos run locally against sqlite in-memory and the workflows reliably produce actionable PRs.
AI-written summary · about
chapters (13)
- 0:00Start
- 6:04ENVIRONMENT
- 7:55RUN A TEST FILE
- 8:35RUNNING TESTS
- 12:32OPENING AN ISSUE Beclear and include the Rails version
- 14:23TEST SCRIPTS
- 26:32BENCHMARK/IPS
- 30:17SOURCE LOCATION
- 39:50CALLER
- 45:33TRACE POINT
- 48:21GIT REMOTES
- 50:55GIT BISECT
- 59:54AMENDING COMMITS
related talks
21mStarting & Contributing to Open Source Projects for Beginners
39mPerusing the Rails Source Code - A Beginners Guide
26mContributing to Rails? Start with the Gems You Already Use
34mCode Spelunking: teach yourself how Rails works
42mDissecting Ruby with Ruby
26mFrom 9-to-5 to Pull Requests: Sustainable Open Source Contribution
32mDeep diving: how to explore a new code base
36mFrom massive pull requests to trunk-based development with Ruby
