RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: ajax xFree Episodes x
AJAX History State
Episode #246 – Dec 27, 2010 – 51 comments

AJAX History State

The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support can be easily added. (10 minutes)
Search, Sort, Paginate with AJAX
Episode #240 – Nov 15, 2010 – 124 comments

Search, Sort, Paginate with AJAX

Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX. (13 minutes)
Pagination with AJAX
Episode #174 – Aug 10, 2009 – 91 comments

Pagination with AJAX

Learn an easy, unobtrusive way to add AJAX functionality to an existing set of pagination links using jQuery. (13 minutes)
Facebook Authentication
Episode #360 – Jun 25, 2012 – 196 comments

Facebook Authentication

This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it off with a client-side authentication using the JavaScript SDK. (12 minutes)
AJAX History and Bookmarks
Episode #175 – Aug 17, 2009 – 76 comments

AJAX History and Bookmarks

Browser page history and bookmarks do not usually work with AJAX requests, but in this episode I show you how to remedy this problem using a simple jQuery plugin. (11 minutes)
DataTables
Episode #340 – Apr 11, 2012 – 173 comments

DataTables

DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here I show how to set this up and use a Rails application as the data source. (9 minutes)
Playing with PJAX
Episode #294 – Oct 31, 2011 – 82 comments

Playing with PJAX

PJAX allows you to quickly update a section of a page using AJAX with automatic pushState support. Here I show how to use both pjax_rails and rack-pjax gems. (8 minutes)
AJAX with RJS
Episode #43 – Jun 11, 2007 – 99 comments

AJAX with RJS

This episode will walk you through adding AJAX functionality to a form using RJS. See how to easily update multiple elements on a page. (11 minutes)
jQuery
Episode #136 – Nov 17, 2008 – 114 comments

jQuery

How do you use jQuery with Rails? In this episode I redo episode #43 using jQuery instead of Prototype/RJS. (9 minutes)
Debugging RJS
Episode #44 – Jun 13, 2007 – 35 comments

Debugging RJS

RJS and AJAX can be difficult to debug. Many times you don't get any error message in the browser. Learn different techniques for solving these tricky problems in this episode. (7 minutes)