Rails 6 Ajax - erb. find(params[:id]) remote: true - This will allow @rails/ujs to make an Ajax request to the URL in question ...