there is a patch available already:
http://j.mp/aFHyu4

On Mar 21, 2:29 pm, mz <[email protected]> wrote:
> there seems to be a bug in the current haml master which breaks
> format.js in rails3 controller code:
>
> format.js { render :update do |page| page.alert "foo!" end}
>
> results in
> NoMethodError (undefined method `html_safe' for ["alert(\"foo!
> \");"]:Array):
>
> from a discussion in rails-contrib (quote)
> buhrmi: i replaced the the function in /lib/haml/util.rb starting with
> line 215 withhttp://pastie.org/879571
>
> -m

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