Never insert comments in ERB code
Never insert comments in ERB code in one line, such as:
<% if somecode # my comment… %>
If you have more stuff after this line, it will be all ignored by rails, causing many problems.
Never insert comments in ERB code in one line, such as:
<% if somecode # my comment… %>
If you have more stuff after this line, it will be all ignored by rails, causing many problems.
November 20, 2008 at 6:11 am
or:
want to