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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Timo Springmann 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: > > <!-- I''m a comment --> > > Erb-Comments > > <%# I''m a comment, too! %> > > Regards, > TimoHi Springmann, Thanks for your kind reply. Regards, Veeraa -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 5/9/07, Timo Springmann <t.springmann-yM2StcZat7YdDX0dnZFiFbNAH6kLmebB@public.gmane.org> 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: > > <!-- I''m a comment --> > > Erb-Comments > > <%# I''m a comment, too! %>Note also that the former will be carried through to the output, while the latter will not. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---