Hey there! Check out HackerBooks.com - our latest project that let you search books from StackOverflow and HackerNews

Latest Free Screencasts

It's always important to keep your ActiveRecord models in tip-top shape. Ben Hughes explores several techniques for refactoring models and preventing them from getting out of hand. Bonus content: download the slides from this talk.

Watch this screencast

RailsCasts #212 Refactoring & Dynamic Delegator

Railscasts - 2010-05-03 - free

Learn how to refactor a set of conditional Active Record queries using a Dynamic Delegator.

Watch this screencast

RailsCasts #166 Metric Fu

Railscasts - 2009-06-15 - free

Metric Fu is a compilation of several tools to help find areas of code that could be improved. In this episode I show you how to setup this tool on the railscasts.com source code.

Watch this screencast

RailsCasts #103 Site Wide Announcements

Railscasts - 2008-04-28 - free

Sometimes you need to display an administrative announcement to every page on the site and give the users the ability to hide the announcement. See how in this episode.

Watch this screencast

RailsCasts #101 Refactoring Out Helper Object

Railscasts - 2008-04-14 - free

If you have complex view logic, this can easily lead to helper methods which call each other. See how to refactor this out into another object in this episode. This is also known as the presenter pattern.

Watch this screencast

RailsCasts #99 Complex Partials

Railscasts - 2008-03-31 - free

How do you handle partials which have differences depending on the action which is rendering them? Here's three suggestions for this problem.

Watch this screencast

RailsCasts #91 Refactoring Long Methods

Railscasts - 2008-02-03 - free

In this episode I walk you through an exercise in refactoring by taking a long method and making it more concise.

Watch this screencast

RailsCasts #55 Cleaning Up the View

Railscasts - 2007-07-09 - free

This episode starts off with a big, messy template. Watch as this code shrinks and becomes more readable while the interface stays the same.

Watch this screencast

RailsCasts #30 Pretty Page Title

Railscasts - 2007-05-11 - free

If you are like me, you avoid creating page titles because it is kind of a pain. But in this episode I will show you a clean way to add titles to your pages.

Watch this screencast

RailsCasts #12 Refactoring User Name Part 3

Railscasts - 2007-03-30 - free

In the final part of this series you will see how to refactor your tests. Keeping tests clean is important because it will make testing easier to do in the future.

Watch this screencast