Hi,
I know how to comment codes in ruby (.rb) file. But can anyone say how to comment codes in rails file i mean in .rhtml file .
HTML comments:
<!-- I'm a comment -->
Erb-Comments
<%# I'm a comment, too! %>
Regards, Timo
Hi,
I know how to comment codes in ruby (.rb) file. But can anyone say how to comment codes in rails file i mean in .rhtml file .
HTML comments:
<!-- I'm a comment -->
Erb-Comments
<%# I'm a comment, too! %>
Regards, Timo
Note also that the former will be carried through to the output, while the latter will not.