in rubymine it is easy to code out html with code -> line comment, but how do you comment multiple lines in ruby.
%= "this is a test %>
to
#= "this is a test %>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Select the lines you want to comment out, and do
CMD+/(forward slash) on a Mac. On a PC I’m assuming the same thing isCTRL+/You can un-comment the same way, and you can also comment single lines out with the same keystroke. It doesn’t really matter where your cursor is on the line. As long as a part of the line has been selected, the comment will include the whole line.