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 with http://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 h...@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to