ERB allows embedding Ruby code into HTML templates. These templates are saved with the .html.erb extension in app/views.
.html.erb
app/views
<%= %>
<% %>
Example: <%= @article.title %>
<%= @article.title %>