On 8 juin, 19:23, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> It looks like the post-2.1 master branch has changed a lot of stuff in
> incompatible ways. It'll take a while to get Haml working with that.

No, we're dealing with rails 2.1 gems. Spyridon.vasileiadis fix :

Haml::Engine.new(template.source,options).send(:precompiled_with_ambles,
[])
instead of
Haml::Engine.new(template, options).send(:precompiled_with_ambles,
[])

and
ActionView::Template.register_template_handler(:haml, Haml::Template)
instead of
ActionView::Base.register_template_handler(:haml, Haml::Template)

is the only way to make Haml work, and hacking the plugin (set as git
module) is pretty ugly.
--~--~---------~--~----~------------~-------~--~----~
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