RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xFree Episodes x
Authorization with CanCan
Episode #192Dec 14, 2009114 comments

Authorization with CanCan

CanCan is a simple authorization plugin that offers a lot of flexibility. See how to use it in this episode. (15 minutes)
Routing Walkthrough Part 2
Episode #232Sep 19, 201037 comments

Routing Walkthrough Part 2

In this episode we continue our look into the Rails 3 router by exploring the Mapper class. (13 minutes)
Upgrading to Rails 3 Part 1
Episode #225Aug 02, 201061 comments

Upgrading to Rails 3 Part 1

In the first part of this series on upgrading a Rails 2 application to Rails 3, we'll start off by setting up Rails 3.0 Release Candidate in a clean environment. The rails_upgrade plugin will then help us determine what needs upgrading. (11 minutes)
Engage with Devise
Episode #233Sep 27, 201041 comments

Engage with Devise

Janrain Engage (aka RPX) makes it easy to support many authentication solutions through their one service. (6 minutes)
Cropping Images
Episode #182Oct 05, 2009144 comments

Cropping Images

Present a slick user interface for cropping image attachments using Jcrop and Paperclip. (14 minutes)
Declarative Authorization
Episode #188Nov 16, 2009114 comments

Declarative Authorization

Declarative authorization provides an advanced and powerful solution for role based authorization. (15 minutes)
Advanced Search Form
Episode #111May 26, 2008105 comments

Advanced Search Form

If you need to create an advanced search with a lot of fields, it may not be ideal to use a GET request as I showed in episode 37. In this episode I will show you how to handle this by creating a Search resource. (7 minutes)
Controllers in Rails 3
Episode #224Jul 26, 201048 comments

Controllers in Rails 3

Embedded flash notices, permanent cookies, and the details of respond_with are in this episode. (10 minutes)
Unobtrusive Javascript
Episode #205Mar 15, 201084 comments

Unobtrusive Javascript

Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice. (13 minutes)
Active Model
Episode #219Jun 21, 201053 comments

Active Model

In Rails 3 the non-database functionality of Active Record is extracted out into Active Model. This allows you to cleanly add validations and other features to tableless models. (6 minutes)