RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes x
AJAX History State
Episode #246Dec 27, 201051 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)
New Gem with Bundler
Episode #245Dec 20, 201037 comments

New Gem with Bundler

Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works. (7 minutes)
Gravatar
Episode #244Dec 13, 201040 comments

Gravatar

Gravatar is a service for providing user avatars. See how easy it is to use in Rails in this episode. (5 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)
Thor
Episode #242Nov 29, 201038 comments

Thor

Thor is an alternative to Rake. It has better support for command line arguments and provides a way to add global scripts. (8 minutes)
Simple OmniAuth
Episode #241Nov 22, 201090 comments

Simple OmniAuth

Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user. (9 minutes)
Search, Sort, Paginate with AJAX
Episode #240Nov 15, 2010124 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)
ActiveRecord::Relation Walkthrough
Episode #239Nov 07, 201042 comments

ActiveRecord::Relation Walkthrough

The new Active Record query methods in Rails 3 might seem like magic at first. But in this episode I unravel how it works by browsing the Rails 3 source code. (11 minutes)
Mongoid
Episode #238Nov 01, 201081 comments

Mongoid

Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys. (11 minutes)
Dynamic attr_accessible
Episode #237Oct 25, 201065 comments

Dynamic attr_accessible

It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode. (9 minutes)