Alex Rivera | Logout

Rails 3 - How to comment in a View?

Asked 2010-09-18T16:24:07.960
19

What is the Rails 3 way to comment out One Line or Multiple lines of code in a View? And so it doesn't show up in the HTML Source

Edit
Report

1 Answer

1

which "blocks" do you mean? html? then you can use ruby code? <%# code %>

answered 2010-09-18T16:27:17.843

Your Answer