On Apr 26, 11:53 am, Piotr 'Qertoip' Włodarek <[EMAIL PROTECTED]>
wrote:
> Edge Rails as of Sat Apr 26 12:21 2008 +1200 (just before Rails 2.1)
> +
> Haml 1.8.2
>
> I get exception:
>
>  NoMethodError in Pages#index
>
> Showing pages/index.html.haml where line # raised:
>
> undefined method `strip' for #<ActionView::Template:0x69acc74>
>
> Is there a workaround? When can we expect Haml to work with Rails 2.1?

OK, this seems to solve the problem:
haml-1.8.2/lib/haml/template/plugin.rb:27

Is:
Haml::Engine.new(template, options).send(:precompiled_with_ambles, [])

Should be:
Haml::Engine.new(template.source,
options).send(:precompiled_with_ambles, [])
--~--~---------~--~----~------------~-------~--~----~
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