
ERB (Embedded Ruby)
Embedded Ruby (ERB) is a way to combine Ruby code with HTML to create dynamic web pages. It allows developers to insert Ruby commands within an HTML document, enabling content to change based on data or logic. When the page is viewed, the server processes the ERB templates, executes the Ruby code, and produces a complete HTML page for the user. This technique streamlines the development of interactive websites by blending code and layout seamlessly, making it easier to generate customized content dynamically.