RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources x
Cookie Based Session Store
Episode #84 – Dec 16, 2007 – 38 comments

Cookie Based Session Store

In Rails 1.2 the default session store is file based. This is inefficient and difficult to maintain. In Rails 2.0 the default is now cookie based which has several benefits as you will see in this episode. (4 minutes)
Testing Controllers with RSpec
Episode #71 – Sep 17, 2007 – 59 comments

Testing Controllers with RSpec

Controllers are tricky to test, and there's no perfect way to do it. In this episode you will see how I test controllers, and my reasoning behind it. (11 minutes)
Logging Variables
Episode #86 – Dec 30, 2007 – 27 comments

Logging Variables

Have you ever wanted to easily log all variables? Now you can by using some advanced Ruby concepts as shown in this episode. (6 minutes)
Sending Email
Episode #61 – Jul 23, 2007 – 67 comments

Sending Email

This is a brief guide to sending email in Rails. See how to configure the environment, generate a mailer, create a template, and deliver the mail. (7 minutes)
Generate Named Routes
Episode #79 – Nov 11, 2007 – 31 comments

Generate Named Routes

This more advanced episode will show you how to dynamically generate named routes by adding a method to the map object. (5 minutes)
Stopping Spam with Akismet
Episode #65 – Aug 06, 2007 – 58 comments

Stopping Spam with Akismet

The Railscasts site has been getting a lot of comment spam in the past, but no longer. In this episode I will show you how I solved this problem by using the Akismet web service. (11 minutes)
Custom Rake Tasks
Episode #66 – Aug 13, 2007 – 55 comments

Custom Rake Tasks

Rake is one of those tools that you don't realize how powerful it is until you start using it. In this episode you will learn how to create custom rake tasks and improve them by using rake features. (10 minutes)
Markaby in Helper
Episode #69 – Sep 03, 2007 – 44 comments

Markaby in Helper

Do you ever need to generate HTML code in a helper method? Placing it directly in Ruby strings is not very pretty. Learn a great way to generate HTML through Markaby in this episode. (6 minutes)
Custom Routes
Episode #70 – Sep 10, 2007 – 33 comments

Custom Routes

In this episode you will learn how to add custom routes, make some parameters optional, and add requirements for other parameters. (7 minutes)
Hacking ActiveRecord
Episode #62 – Jul 25, 2007 – 46 comments

Hacking ActiveRecord

Have you ever wanted to temporarily disable all validations? Well, ActiveRecord doesn't support this, but that doesn't mean we can't add it. This episode will show you how to open up an existing class and change its behavior. (11 minutes)