DDavid Montesdeoca·Apr 28The one with the Ruby DSL for UI componentsLearn how to build a block DSL for server-rendered Ruby components with thread-local stacks15 min read·davidmontesdeoca.dev1
DDavid Montesdeoca·Feb 24The one about rendering and displaying code examples in ERBLearn how to build a DRY component showcase in Sinatra. Define ERB examples once to both render the UI component and display its source code.7 min read·davidmontesdeoca.dev
AAvi Flombaum·Jul 25, 2023Prettier for ERBOptimize ERB formatting with Prettier by treating ERB as HTML in .prettierrc.json, enhancing Ruby on Rails code readability and compatibility1 min read·code.avi.nyc