$(".comment-form").hide(); $("#comments-thread").append("<%= escape_javascript(render("comment", comment: @comment)) %>");