Hi there. I found this code off the net to allow haml includes:

= ::Haml::Engine.new(File.read(File.dirname(__FILE__) + '/pathto/
file.haml'), instance_variable_get(:@haml_buffer).options).render

However it's always cached - it doesn't detect changes in my include
file unless I change the include code then change it back again - any
ideas?

Thanks,

Caroline

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