How to comment codes in .rhtml file

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.

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

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

On 5/9/07, Timo S. [email protected] 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs