Let's say I want to display in an erb page a hint on how to write erb:
in helpfile.html.erb:
Here's the right way to write a basic erb statement: <%= a = 1 %>
The problem is that when that erb file is processed as a view in rails, the literal erb <%=
gets interpreted and so in the file displayed I just see
Here's the right way to write a basic erb statement: 1
How do I do that?