Actually there is. "-#", without a space between the hyphen and pound 
sign, is recognized as a command by Haml which means "do absolutely 
nothing with this text." It's not passed on to Ruby, just 
plain-and-simply not dealt with. In fact passing a comment to Ruby is 
probably not a good idea (you shouldn't have that much faith that what 
goes on behind the scenes will always work the same way).

- Nathan

Hampton wrote:
> Nope!
>
> That's the perferred technique.
>
> -hampton.
>
> On 3/13/07, s.ross <[EMAIL PROTECTED]> wrote:
>   
>> I'd like to keep some comments in my view files that I don't
>> necessarily want in the source the browser gets. E.g.,
>>
>> - # use really keen way of making sure this is a human and not a
>> computer filling out my form
>>
>> You'll note I used a Ruby comment for this, which works, but is there
>> a non-rendering version of the forward slash that already does this?
>>
>> Thanks,
>>
>> Steve
>>
>>     
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to