Add the following code to your rails application.js file.
Even though the code is pretty simple it ain't properly available in Stack Overflow questions and blog posts. To create a beautiful experience you can use spin.js file library or a simple gif image in the spinner div.
Even though the code is pretty simple it ain't properly available in Stack Overflow questions and blog posts. To create a beautiful experience you can use spin.js file library or a simple gif image in the spinner div.