Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Thinking Sphinx (revised)
Episode #120Dec 09, 201112 comments

Thinking Sphinx (revised)

Sphinx is a full-text search engine for use with MySQL or PostgreSQL. Learn how to add Thinking Sphinx by defining an index on your model and searching with various options. (10 minutes)
Authentication with Warden
Episode #305Dec 05, 201122 comments

Authentication with Warden

Warden makes it easy to move authentication up into Rack middleware. This means authentication can be accessed outside of a Rails controller such as in routes or in a mountable engine. (12 minutes)
OmniAuth Identity
Episode #304Dec 05, 201154 comments

OmniAuth Identity

With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider. (11 minutes)
Cropping Images (revised)
Episode #182Dec 02, 201141 comments

Cropping Images (revised)

Allow users to interactively crop uploaded images using Jcrop and Carrierwave. Includes a live preview that shows the resulting image. (11 minutes)
Publishing a Gem
Episode #303Nov 28, 20116 comments

Publishing a Gem

In this second part on making a gem, you will learn how to publish a gem by releasing it to rubygems.org, testing it through Travis CI, documenting it on RubyDoc.info, and advertising it on various sites. (11 minutes)
In-Place Editing
Episode #302Nov 28, 201160 comments

In-Place Editing

Edit an attribute in-place without leaving a page using the Best In Place gem. Learn how to add validations and support for various field types. (8 minutes)
Dynamic Select Menus (revised)
Episode #88Nov 25, 201169 comments

Dynamic Select Menus (revised)

Do you need to dynamically change one select menu based on the value of another? Here I show how to filter states/provinces by a selected country using grouped options and a dab of CoffeeScript. (7 minutes)
Extracting a Ruby Gem
Episode #301Nov 21, 20119 comments

Extracting a Ruby Gem

In this episode I show how to extract a Ruby Gem from an existing Rails application, test it with RSpec and Supermodel, and add a Railtie. (16 minutes)
Contributing to Open Source
Episode #300Nov 21, 201112 comments

Contributing to Open Source

GitHub makes it easier than ever to contribute to open source with pull requests. Here I show how to submit a pull request to the VCR project. (9 minutes)
Advanced Search Form (revised)
Episode #111Nov 17, 201126 comments

Advanced Search Form (revised)

It is often best to use a GET request when submitting a search form, however if it is an advanced search form with a lot of fields then this may not be ideal. Here I show how to create a search resource to handle this. (6 minutes)