~/talk

From Cryptic Error Messages To Rails Contributor

Talkat RailsConf 2024 · 2024-05-07..05-09· [ruby-on-rails]
slides:none on file

Shows a concrete fix: change form_with model default from nil to false so passing nil raises an early, clear error; write a unit test, run bin/test, and open a PR that lands but is later changed to emit a deprecation warning first. Uses troubleshooting tools like api.rubyonrails.org, bundle open ActionView and rails console, inspects server logs, edits source, runs isolated tests, and confirms the change works end-to-end before submitting.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08Contributing to Rails intimidating
  3. 3:11Documentation fixes
  4. 4:15Debugging error messages
  5. 5:38GoRails Discord example
  6. 7:26Rails naming in forms
  7. 8:47Recreate issue new app
  8. 10:11Typo and fail debug
  9. 12:16Test issue new template
  10. 13:23Locate form_with in Rails
  11. 15:31Analyze form_with default
  12. 16:55Propose nil model fix
  13. 17:57Test change locally
  14. 18:38Contribute to Rails source
  15. 19:40Running tests and identifying failures
  16. 21:45form_with vs form_for
  17. 22:49Write tests for change
  18. 23:53Submit pull request
  19. 24:36Breaking changes handling
  20. 25:18Encourage contributions
  21. 26:54Closing remarks
~/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.