RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails 3 x
Handling Exceptions (revised)
Episode #53Apr 20, 2013209 comments

Handling Exceptions (revised)

By default, Rails will render a static error file when an exception occurs in production. Here you will learn how to fully customize this behavior and render dynamic error pages. (11 minutes)
ERB Blocks in Rails 3
Episode #208Apr 05, 201060 comments

ERB Blocks in Rails 3

Blocks in ERB templates are handled differently in Rails 3.0 Beta 2. Learn all about it in this episode. (9 minutes)
Mountable Engines
Episode #277Aug 01, 201182 comments

Mountable Engines

Engines are receiving a major update in Rails 3.1. You can mount them at any path, embed assets, run generators and more. See how in this episode. (13 minutes)
Pagination with Kaminari
Episode #254Feb 21, 201191 comments

Pagination with Kaminari

If you need pagination in Rails 3 try out Kaminari. It is a clean, flexible solution which uses scopes to flow nicely with Active Record queries. Did I mention it also works with Mongoid? (8 minutes)
Bundler (revised)
Episode #201Mar 16, 201258 comments

Bundler (revised)

Bundler makes it easy to manage Ruby Gem dependencies. Learn how to use it in a Rails application, see what's new in Bundler 1.1, convenient ways to run bundle exec, and how to fix gem compilation issues. (9 minutes)
Chef Solo Basics
Episode #339Apr 06, 201296 comments

Chef Solo Basics

Chef is a provisioning tool which allows you to spin up production servers automatically. Here I show how to get started with Chef Solo and create a custom cookbook. (17 minutes)
Sending HTML Email
Episode #312Jan 02, 201249 comments

Sending HTML Email

HTML email can be difficult to code because any CSS should be made inline. Here I present a few tools for doing this including the premailer-rails3 and roadie gems. (5 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)
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)