Friday, July 26, 2013

Commenting out code in an ERB file

In an ERB file commenting is different than a standard HTML file.  Doing below will still run the ruby code.


Doing this below is the proper way to ensure that the ruby code does not run

You can also use the short: cmd + /  can allow you to  comment a block of code in Sublime text.


No comments:

Post a Comment