It looks like changes in Edge earlier today broke Haml again.

Here's a patch that makes it work with Edge, but will break things if
used with an older version of Rails.  I'm not sure how that problem is
usually handled.

-Kurt
http://kurt.karmalab.org

diff --git a/lib/haml/template/plugin.rb b/lib/haml/template/plugin.rb
index 0ce7e83..3339b3a 100644
--- a/lib/haml/template/plugin.rb
+++ b/lib/haml/template/plugin.rb
@@ -39,5 +39,5 @@ module Haml
   end
 end

-ActionView::Base.register_template_handler(:haml, Haml::Template)
+ActionView::Template.register_template_handler(:haml, Haml::Template)
 # :startdoc:
--~--~---------~--~----~------------~-------~--~----~
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