~/talk

Perusing the Rails Source Code - A Beginners Guide

Talkat RailsConf 2017 · 2017-04-25..04-27· [ruby-on-rails, developer-experience]
slides:none on file

Clones the Rails repo, runs its tests and tiny example scripts, and uses method.source_location and byebug to step into runtime paths; shows that find_by is just where.first and that define_method_attribute= creates a temporary aliased method to bypass Ruby name limits; uses git: git log -S and blame -w plus GitHub’s reblame to trace 2011–2016 commits, follows reproduction scripts, attempts fixes, and notes a system tests feature taking six months and reproduction script driven debugging.

AI-written summary · about

  1. 0:00Start
  2. 1:31Side Effects of Perusing a Real Source Code
  3. 2:22Magic in Rails
  4. 3:31Rails Modules
  5. 4:08Rails Request
  6. 6:11Guides
  7. 10:40Introspection Methods
  8. 12:57Validations
  9. 13:09Persistence
  10. 13:33Super Method
  11. 14:17The Active Record Master Script
  12. 15:22Active Record Configuration
  13. 17:23Heisenbugs Debugging Uncertainty Principle
  14. 17:55Lazy Query
  15. 19:53Generated Attribute Methods
  16. 23:48Git Log
  17. 26:03Vim Fugitive
  18. 33:27Milestones
  19. 35:59Resources
  20. 36:37Pull Request for System Tests
  21. 37:43Crafting Rails for Applications
~/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.