RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: json xPlugins x
OAuth with Doorkeeper
Episode #353May 23, 201290 comments

OAuth with Doorkeeper

Doorkeeper makes it easy to create an OAuth 2 provider. This episode also shows how to setup OmniAuth as an OAuth client and use the oauth2 gem to communicate with an API. (19 minutes)
Passing Data to JavaScript
Episode #324Feb 13, 201277 comments

Passing Data to JavaScript

There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute, and the Gon gem. (6 minutes)
ElasticSearch Part 2
Episode #307Dec 12, 201161 comments

ElasticSearch Part 2

This final part on ElasticSearch and Tire will show how to make more complex search queries, customize the indexing, and add facets. (16 minutes)
Sharing Mustache Templates
Episode #295Oct 31, 201155 comments

Sharing Mustache Templates

Mustache is a simple, logic-less templating language which allows you to use the same template for both Ruby and JavaScript. See how to set it up with a custom template handler in this episode. (17 minutes)
Token Fields
Episode #258Mar 21, 2011118 comments

Token Fields

With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association. (11 minutes)
Messaging with Faye
Episode #260Apr 04, 2011117 comments

Messaging with Faye

Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app. (13 minutes)
Running JavaScript in Ruby
Episode #297Nov 07, 201147 comments

Running JavaScript in Ruby

Sometimes logic needs to be shared between the server-side (Ruby) and the client-side (JavaScript). Here I show how to run JavaScript directly in Ruby through ExecJS and therubyracer. (14 minutes)
Offline Apps Part 2
Episode #248Jan 10, 201137 comments

Offline Apps Part 2

Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline. (14 minutes)
Beanstalkd and Stalker
Episode #243Dec 06, 201040 comments

Beanstalkd and Stalker

Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs. (9 minutes)