This is a minimal example of how to use AJAX via jQuery on Rails 3(.2.11).