TLDR Dev · ARTICLES & TUTORIALS
ADOPTING HERB AT GITHUB
Summary from the TLDR Dev newsletter
A staff engineer integrated Herb, a C-based parser for HTML+ERB templates, into a Rails monolith with ~500K lines of ERB to help validate it before it potentially replaces Erubi in Rails core. It caught real bugs existing linting missed (malformed HTML and invalid Ruby in untested branches), and AI assistants one-shot fixed most of the ~2,800 failing files.