Yeah, at the moment, filters don't use the same context as the Haml 
template. This is something we plan to fix (along with the ugly error 
messages) for 2.0.

- Nathan

Ryan T Mulligan wrote:
> The compile error was caused by a method not being defined inside of
> a :ruby filter. This was happening because I thought the :ruby filter
> would include the same methods/instance variables as the "=" ruby
> interpreter. My guess is that it is not raising a compile error, which
> is then causing the useless error message later.
>
> On Jul 29, 7:46 am, Ryan T Mulligan <[EMAIL PROTECTED]> wrote:
>   
>> I'm getting a weird and not helpful error message the second time I
>> run a template through Haml.
>>
>> http://attachr.com/9104
>>
>> Has anyone seen something like this before?
>>
>> I'm going to keep investigating it, any thoughts would be helpful.
>>     
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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