Add progress bar to process array requests in Ruby on Rails
index.html.erb: <div class="row" id="wrapper"> <div class="progress-files-count"></div> <div class="progress"> <div class="progress-bar" role="progressbar" style="width: 0%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"><span class="progress-files-percentage">0</span></div> </div> <table class="table"> <thead> <tr> <th scope="col">URL</th> <th scope="col">EMAIL</th> <th scope="col">STATUS</th> </tr> </thead> <tbody> <% @entries.each do |entry| %> <tr> <td><%=link_to entry[:link], entry[:link] %></td> <td><span id="email-<%= entry[:id]%>"></spa...