Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Applied Filters: Ajax x
AngularJS
Episode #405Feb 05, 2013163 comments

AngularJS

AngularJS is an awesome framework for easily creating rich, client-side applications. Its powerful bindings allow you to do a lot with very little code. Here I show how to integrate Angular with a Rails app. (16 minutes)
ActionController::Live
Episode #401Jan 19, 201343 comments

ActionController::Live

Server-sent events allow you to trigger events on the browser from a persistent connection to the server. This requires Rails stream data which can be done through ActionController::Live, a feature upcoming in Rails 4. (14 minutes)
Polling for Changes (revised)
Episode #229Jan 14, 201320 comments

Polling for Changes (revised)

Polling may not be as common today as pushing changes over an open socket, however it is still an effective, simple solution if you do not need instantaneous updates. (10 minutes)
Site-Wide Announcements (revised)
Episode #103Nov 12, 201232 comments

Site-Wide Announcements (revised)

Here I show how to add an announcement message at the top of every page in the application and allow the user to permanently hide it. This is all done test-first and even includes testing the JavaScript behavior. (11 minutes)
Turbolinks
Episode #390Nov 05, 201238 comments

Turbolinks

Turbolinks can make your Rails app feel faster by using JavaScript to replace the page content when clicking a link. It will be default in new Rails 4.0 applications, but here I show how to use it in Rails 3 and mention some of the gotchas. (7 minutes)
jQuery & Ajax (revised)
Episode #136Sep 28, 201282 comments

jQuery & Ajax (revised)

Here I go back to the basics and show how to turn a traditional Rails app into one that interacts through Ajax by adding "remote" options, JavaScript templates and a dabble of jQuery. (14 minutes)
Uploading to Amazon S3
Episode #383Sep 26, 2012125 comments

Uploading to Amazon S3

Here I show how to upload files directly to Amazon S3 using CarrierWave Direct and Fog. I then walk through another project which uses jQuery File Upload to handle multiple files and does not use CarrierWave. (14 minutes)
jQuery File Upload
Episode #381Sep 21, 2012107 comments

jQuery File Upload

Here you will learn how to upload multiple files over ajax using jQuery File Upload. I start with the basic functionality and customize it to fit the user interface. (13 minutes)
A Look at Meteor
Episode #351May 16, 201261 comments

A Look at Meteor

Meteor is a JavaScript framework for building rich client-side applications. Here I re-create the Raffler app to compare with Backbone.js and Rails. Meteor may not be related to Rails, but I think many will find it interesting. (15 minutes)
Token Fields (revised)
Episode #258May 05, 2012107 comments

Token Fields (revised)

The Chosen plugin makes it easy to turn a many-to-many select menu into a searchable token field. Then see how the jQuery Tokeninput field can help with AJAX loading and creating new records. (10 minutes)