In Rails 4 it is useful to have a 'page loading' indicator when a user clicks a link. This is a simple way to accomplish that without external libraries. Tested on Rails 4 using TurboLinks.
Great Link for Spinning Loader gifs: http://loading.io/
On CSS Page:
.modal {
display: none;
position: fixed;