Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Devise and OmniAuth (revised)
Episode #235Jul 13, 201291 comments

Devise and OmniAuth (revised)

In this episode I build upon a standard Devise setup and show how to add 3rd party authentication using OmniAuth. This includes support for user validations and is compatible with normal password authentication. (10 minutes)
Thread-Safety
Episode #365Jul 09, 201234 comments

Thread-Safety

The config.threadsafe! option will likely be enabled by default in Rails 4.0. Here you will learn what this option does, how it affects production, and some tips on thread safety. (10 minutes)
Active Record Reputation System
Episode #364Jul 09, 201265 comments

Active Record Reputation System

If you need to calculate an average user's rating or sum up a number of votes, consider using the activerecord-reputation-system gem. Here I will cover the basics and also briefly present a from-scratch solution. (10 minutes)
Devise (revised)
Episode #209Jul 06, 201240 comments

Devise (revised)

Devise is one of the most popular authentication plugins for Rails. Here I show how to set it up with a User model and configure the modules, views, routes, and more. (8 minutes)
Facebook Open Graph
Episode #363Jul 02, 201217 comments

Facebook Open Graph

This episode builds on last week's episodes and shows how to integrate Facebook further through the Open Graph protocol. You will also learn how to tunnel your local server and move Facebook communication into a background process. (11 minutes)
Exporting CSV and Excel
Episode #362Jul 02, 2012108 comments

Exporting CSV and Excel

As you will see it is easy to add a CSV export option to Rails. Here I also show how to export for Excel in a variety of formats. (6 minutes)
Testing JavaScript with Jasmine (revised)
Episode #261Jun 28, 201221 comments

Testing JavaScript with Jasmine (revised)

The jasminerice gem makes it easy to test your JavaScript with Jasmine in a Rails application. Here I also cover jasmine-jquery and guard-jasmine. (11 minutes)
Facebook Graph API
Episode #361Jun 25, 201218 comments

Facebook Graph API

Learn how to use the Facebook Graph API with the Koala gem to fetch data from Facebook and post content through a user. Here I delve into permissions, error handling, and more. (14 minutes)
Facebook Authentication
Episode #360Jun 25, 2012110 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)
Destroy without JavaScript (revised)
Episode #77Jun 16, 201213 comments

Destroy without JavaScript (revised)

A destroy link in Rails does not work without JavaScript. In this episode I show two techniques for gracefully degrading destroy links: button_to and a delete action. (8 minutes)