How to comment codes in .rhtml file


#1

HI everybody

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 .

Regards,
Veeraa.


#2

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:

Erb-Comments

<%# I’m a comment, too! %>

Regards,
Timo


#3

Timo S. wrote:

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:

Erb-Comments

<%# I’m a comment, too! %>

Regards,
Timo

Hi Springmann,

Thanks for your kind reply.

Regards,
Veeraa


#4

On 5/9/07, Timo S. removed_email_address@domain.invalid wrote:

Erb-Comments

<%# I’m a comment, too! %>

Note also that the former will be carried through to the output, while
the latter will not.