var dom = $("<%= j render :partial => 'category', :object => @category %>");
parent.html(dom.html());