Sign in through GitHub
Screen Scraping with ScrAPI
Episode #173Aug 03, 200936 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)
Touch and Cache
Episode #172Jul 27, 200915 comments

Touch and Cache

Rails 2.3.3 brings us a new feature called "touch". See how to use this to auto-expire associated caches in this episode. (6 minutes)
Delayed Job
Episode #171Jul 20, 200951 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)
OpenID with Authlogic
Episode #170Jul 13, 200952 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)
Dynamic Page Caching
Episode #169Jul 06, 200949 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)
Feed Parsing
Episode #168Jun 29, 200922 comments

Feed Parsing

Learn two different techniques for parsing an RSS feed using Feedzirra in this episode! (10 minutes)
More on Virtual Attributes
Episode #167Jun 22, 200926 comments

More on Virtual Attributes

Use a virtual attribute to implement a simple tagging feature. In this episode I show you how to assign virtual attributes through a callback instead of a setter method. (7 minutes)
Metric Fu
Episode #166Jun 15, 200921 comments

Metric Fu

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. (9 minutes)
Edit Multiple
Episode #165Jun 08, 200928 comments

Edit Multiple

Use checkboxes to select multiple records and edit them all in one form as shown in this episode. With virtual attributes you can even edit values relatively! (14 minutes)
Cron in Ruby
Episode #164Jun 01, 200949 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)