Easiest way out is to use <-- --> to comment out your code as show below.
<!-- %= link_to "Make default", make_default_admin_state_path(state) % -->
Example
Learn more from this link.
https://stackoverflow.com/questions/8514946/how-do-i-comment-out-erb-in-rails
Top comments (0)