Senior Track Roadmap

Rails core contributions

This course covers how changes get into Rails and how to read the framework's source. It explains why documentation fixes and bug fixes with failing tests are accepted far more often than new features. It shows how to write a self-contained bug report script with Bundler's inline mode, run one component's tests in a Rails checkout, and write the failing test before the fix. It also covers pull request conventions, following up after opening one, backports to stable branches and finding methods with source_location.

What you'll learn

  • ✓Which kinds of contributions Rails accepts and why new features are often declined
  • ✓Writing an executable bug report with bundler/inline and reducing an application failure to a short script
  • ✓Running one component's tests with bin/test and writing a failing test before the fix
  • ✓Preparing a focused pull request: CHANGELOG entries, commit messages, rebasing and squashing
  • ✓Following up on a pull request and responding to silence or closure
  • ✓Release support windows, backports to stable branches and reading Rails source with source_location
Free preview · Lesson 1 5 min read

What Rails actually merges

It's Friday afternoon, and a query returns rows you didn't ask for. You open the Active Record source in your bundle, find the branch that builds the condition and see the fix. It's four lines.

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...