Too Long; Didn't Read
Erb is a template engine in which Ruby language embeds into HTML. The application will render the result of executing the code inside this tag. The browser will display the results of executing Ruby expressions in HTML. To use erb in a view, files should all have a.html.erb extension for Rails to process them in its asset-pipeline. The. application will use expression tags and execution tags to render views. The result is that the application won't render the. result of. executing Ruby code inside HTML.