Renderizar html en js.erb
$('#comments ul.comments').append("<%= j render(:partial => 'comments/foobar') %>");
Yellowed Yak
$('#comments ul.comments').append("<%= j render(:partial => 'comments/foobar') %>");