An exercise to practice how to best use AJAX in Rails projects