ERB is a templating engine. A templating engine allows you to mix HTML & Ruby. This helps you generate your page dynamically using data from your database. ERB is Rails default engine for rendering views. To be precise, Rails uses an implementation called erubi instead of the ERB class from the Ruby standard library. But […]