I've pushed a fix for this to stable. I'll release it as part of 2.2.22 some time today.
On Sun, Mar 21, 2010 at 12:31 PM, parasew <para...@gmail.com> wrote: > hi there, > the problem only occurred with js rendering for me. > while it might be a rails edge-issue, i was contacted by z3cko who had > a similar issue and asked me to patch it in. the original patch came > from buhrmi from #rails-contrib. > > to reproduce: > > 1) create a link_to @foo, :remote => true > 2) create a js responder in the controller: format.js { render :update > do |p| p.reload end} > 3) see the output in the patched and in the unpatched version. > > i think since the javascript is on more than one line, it gets treated > as an array and thats why it fails. > i will try to research more on why this behavior is actually there - > but for now everything works with that patch in rails edge... will let > you know when i have more info! > > greets, > parasew > > -- > 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 <haml%2bunsubscr...@googlegroups.com>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- 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.