$("#trackables tbody").html("<%= j render @trackables %>") $(".loading").hide() $(".no_loading").show()