RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xFree Episodes x
Delayed Job
Episode #171Jul 20, 200975 comments

Delayed Job

Is there a long running task which should be handled in the background? One of the best ways is using the delayed_job plugin like I show in this episode. (10 minutes)
Dynamic Page Caching
Episode #169Jul 06, 200979 comments

Dynamic Page Caching

Use JavaScript to allow dynamic content in a page cache. In this episode I show you how to insert the user-specific content into a page through JavaScript. (11 minutes)
Finding Unused CSS
Episode #180Sep 21, 200955 comments

Finding Unused CSS

Over time a CSS file can become large and filled with unused selectors. In this episode I show how to use the Deadweight gem to determine which CSS selects you can remove. (8 minutes)
Beginning with Cucumber
Episode #155Mar 30, 2009107 comments

Beginning with Cucumber

Cucumber is a high-level testing framework. In this episode we will create a new Rails application from scratch using behavior driven development. (15 minutes)
Self-Referential Association
Episode #163May 25, 200988 comments

Self-Referential Association

Creating a social networking site often requires a self-referential association on the User model to define friends/followers. In this episode I show how to do exactly that. (14 minutes)
OpenID with Authlogic
Episode #170Jul 13, 200972 comments

OpenID with Authlogic

Learn how to apply OpenID to an existing Authlogic setup as I show in this episode. This builds upon the app from episode 160. (11 minutes)
Model Versioning
Episode #177Aug 31, 200956 comments

Model Versioning

If you need to keep track of a model's history of changes and switch between versions, consider using the vestal_versions gem like I show in this episode. (9 minutes)
Non Active Record Model
Episode #121Aug 04, 200846 comments

Non Active Record Model

This episode will show you how to make a model which isn't based on Active Record. You may want to do this if a resource isn't backed by the database. (12 minutes)
Screen Scraping with ScrAPI
Episode #173Aug 03, 200957 comments

Screen Scraping with ScrAPI

Screen scraping is not pretty, but sometimes it's your only option to extract content from an external site. In this episode I show you how to fetch product prices using ScrAPI. (15 minutes)
Cron in Ruby
Episode #164Jun 01, 200970 comments

Cron in Ruby

Cron is great for handling recurring tasks, but it is an external dependency with a crazy syntax. In this episode I show you how to use Whenever to create cron jobs with Ruby. (8 minutes)