How to solve the creation of progress bars in Ruby on Rails | Hacker News Reader