Okay, today I would like to show how to add progress bar in Ruby on Rails application. For add progress bar in Ruby on Rails application I use nprogress-rails ruby gem.
Add nprogress-rails ruby gem to Gemfile:
And then open terminal type:
Add the requires to the application.js:
Also, into the application.css.scss:
And then, add NProgress.start(); to application.js for loading progress bar whenever you load each pages:
1 2 3
So far so good, let enjoy the progress bar in your application. Thank for reading :)