~/talk

How to Upstream Your Code to Rails

Talkat RailsConf 2023 · 2023-04-24..04-26· [ruby-on-rails]
links:none on file
slides:none on file

A concrete how-to: shows a real upstream of an immutable validator -> read-only validator, adds tests, updates the changelog, and runs a Benchmark.ips script with an inline Gemfile that finds a 6x faster implementation; opens PRs, iterates on review, fixes a regression found in a monolith (abstract‑class setter edge case), and finally gets the change merged so the app can delete its custom validator and rely on Rails in the next major release.

AI-written summary · about

  1. 0:00Contributing to Rails
  2. 1:07Why contribute code
  3. 3:55Open source citizen
  4. 5:18What to upstream
  5. 7:26Finding Rails bugs
  6. 8:49Performance improvements
  7. 10:34New Rails features
  8. 10:54Case study: validator
  9. 14:45Writing a pull request
  10. 17:54Handling PR feedback
  11. 21:27Waiting for reviews
  12. 22:30Fixing regressions
  13. 25:42Summary and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.