There are 4 parts:
- the html partial which goes into your layout
- the scss block to add to your stylesheet
- the coffeescript to add to your application.coffee
- the image. The image is not included here, but go here and "Save image": http://aragats.herokuapp.com/assets/ajax-loader.gif - or go here http://www.ajaxload.info/ and generate your own loader image.