Chapter 7: Ajax and Turbolinks
The success of a social bookmarking or content-sharing application doesn't rest solely on the submission of users' stories; there must also be a way for site visitors to know the value of each content item.
Now, in the world of social bookmarking, popular opinion rules. That's why the value of each story on our Readit site will be gauged by its popularity–indicated by votes the story receives from Readit users.
In this chapter, we'll expand the feature set of our story-sharing application to include this crucial voting functionality. And, as you might expect, Rails comes with some client-side technology to make this a good user experience. We'll also cover what's known as "Turbolinks," as well as the JavaScript ...
Get Rails: Novice to Ninja, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.