1$('#more-button-row').remove(); 2$('#pagination-row').remove(); 3$('#bakery').append('<%= j render partial: 'index' %>');