---
title: "#erb articles | Hashnode"
description: "Explore 2 articles tagged #erb on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/erb"
---

Tag

# #erb

2 posts · 0 followers

[David Montesdeoca](https://hashnode.com/@backpackerhh) · [Apr 28](https://hashnode.com/posts/the-one-with-the-ruby-dsl-for-ui-components/69f103ea10a70b3335efcd2a)

### [The one with the Ruby DSL for UI components](https://davidmontesdeoca.dev/the-one-with-the-ruby-dsl-for-ui-components?utm_source=hashnode&utm_medium=feed)

Learn how to build a block DSL for server-rendered Ruby components with thread-local stacks

15 min read · [davidmontesdeoca.dev](https://davidmontesdeoca.dev/the-one-with-the-ruby-dsl-for-ui-components?utm_source=hashnode&utm_medium=feed)

[David Montesdeoca](https://hashnode.com/@backpackerhh) · [Feb 24](https://hashnode.com/posts/the-one-about-rendering-and-displaying-code-examples-in-erb/699de8d21ddf529956d7b9eb)

### [The one about rendering and displaying code examples in ERB](https://davidmontesdeoca.dev/the-one-about-rendering-and-displaying-code-examples-in-erb?utm_source=hashnode&utm_medium=feed)

Learn 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](https://davidmontesdeoca.dev/the-one-about-rendering-and-displaying-code-examples-in-erb?utm_source=hashnode&utm_medium=feed)

[Avi Flombaum](https://hashnode.com/@avinyc) · [Jul 25, 2023](https://hashnode.com/posts/prettier-for-erb/64bf9fdec0a28255d46d1a9f)

### [Prettier for ERB](https://code.avi.nyc/prettier-for-erb?utm_source=hashnode&utm_medium=feed)

Optimize ERB formatting with Prettier by treating ERB as HTML in .prettierrc.json, enhancing Ruby on Rails code readability and compatibility

1 min read · [code.avi.nyc](https://code.avi.nyc/prettier-for-erb?utm_source=hashnode&utm_medium=feed)
