I want to use progressbar in my view before the view finishes loading. So I installed ruby-progressbar and tried to follow the instructions in the documentation on this website. It works when I use it in my controller.
But I want to use it in my view before the data is loaded. How can I do this?