RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes x
The Logger
Episode #56 – Jul 11, 2007 – 32 comments

The Logger

Learn all about the logger in this episode. See how to send messages to the log and how to customize it. (9 minutes)
Cleaning Up the View
Episode #55 – Jul 09, 2007 – 53 comments

Cleaning Up the View

This episode starts off with a big, messy template. Watch as this code shrinks and becomes more readable while the interface stays the same. (9 minutes)
Debugging with ruby-debug
Episode #54 – Jul 06, 2007 – 51 comments

Debugging with ruby-debug

This episode will show you how to debug a rails app using ruby-debug: set a breakpoint, inspect variables, change the code and more. (8 minutes)
Handling Exceptions
Episode #53 – Jul 04, 2007 – 40 comments

Handling Exceptions

When an exception is raised in development you get the full error along with the stack trace. In production, only a simple message is displayed. Learn why this is and how to customize the handling of exceptions. (8 minutes)
Update through Checkboxes
Episode #52 – Jul 02, 2007 – 44 comments

Update through Checkboxes

See how to select multiple items using checkboxes and perform an action on the selected items in this episode. (10 minutes)
will_paginate
Episode #51 – Jun 29, 2007 – 101 comments

will_paginate

In edge rails (soon to be Rails 2.0), the built-in pagination has been moved into a plugin: classic_pagination. I recommend jumping over to the will_paginate plugin as shown in this episode. (6 minutes)
Contributing to Rails
Episode #50 – Jun 27, 2007 – 39 comments

Contributing to Rails

The best way to contribute to the Rails project is to submit a patch. This episode shows how to do exactly that. There's also a surprise at the end that you don't want to miss! (14 minutes)
Reading the API
Episode #49 – Jun 25, 2007 – 46 comments

Reading the API

The Rails API docs are very useful but can be difficult to read. This episode will give some tips on reading the docs and mention a few alternative sites for accessing the API. Update: sorry about the broken movie, it should work now. (6 minutes)
Console Tricks
Episode #48 – Jun 22, 2007 – 37 comments

Console Tricks

The Rails console is one of my favorite tools. This episode is packed with tips and tricks on how to get the most out of the console. (10 minutes)
Two Many-to-Many
Episode #47 – Jun 20, 2007 – 78 comments

Two Many-to-Many

There are two different ways to set up a many-to-many association in Rails. In this episode you will see how to implement both ways along with some tips on choosing the right one for your project. (9 minutes)