

Herb with Marco Roth
22 snips Aug 8, 2025
Marco Roth, creator of Herb and other open-source tools, discusses the fascinating world of Ruby on Rails development. He shares insights on improving ERB templates, tackling challenges with syntax and formatting. Marco explains how Herb enhances workflows with better error handling and supports seamless integration of React components. Their conversation touches on the importance of community feedback in development, innovative rendering techniques for web accessibility, and the potential of local hot reloading for smoother development experiences. A must-listen for Ruby enthusiasts!
AI Snips
Chapters
Transcript
Episode notes
HTML + ERB Parsed As One
- Herb treats ERB and HTML as a combined structured language rather than simple strings.
- It builds a syntax tree that understands both markup and embedded Ruby.
More Actionable ERB Error Messages
- Herb's deeper parsing lets tooling show exact locations and causes for ERB errors instead of vague blobs.
- That yields faster, more actionable debugging for view templates.
Adopt Formatter Defaults Carefully
- Use Herb's opt-in formatter today and help refine its behavior before enabling it by default.
- Advocate for a community preset so view formatting becomes consistent across teams.