:plain
CommitsList.append(#{@commits.count}, "#{escape_javascript(render(partial: 'commits/commits'))}");