Thought I'd seen the last of this one[1].

engine.rb:
421      @scope_object.class.instance_eval do
422         include CompiledTemplates
423     end

Should be
@scope_object.extend(CompiledTemplates)

[1]: 
http://groups.google.com/group/haml/browse_frm/thread/c6a681ae92ae1b1b/c349bc38364f71c7?lnk=gst&q=locals&rnum=1#c349bc38364f71c7

What're the chances?

I'd be careful of ever doing .class.instance_eval.

Nick


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