This summer, I’m learning Ruby on Rails at Metis, a 12-week class taught by some great folks from thoughtbot. This post is part of a series sharing my experience and some of the things I’m learning.
Most people love the responsive experience of using AJAX-y web pages. Creating that functionality, on the other hand, is not always so enjoyable: asynchronous requests can be difficult to code and debug.
It may not be a surprise that Rails helps us abstract some of the more challenging AJAX code. In this post, we’ll take a look at a basic AJAX request constructed with vanilla jQuery; then, we’ll check out the tools Rails gives us to create and respond to asynchronous requests.