RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources x
Cookie Based Session Store
Episode #84Dec 16, 200738 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 #71Sep 17, 200759 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 #86Dec 30, 200727 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 #61Jul 23, 200767 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 #79Nov 11, 200731 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 #65Aug 06, 200758 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 #66Aug 13, 200755 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 #69Sep 03, 200744 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 #70Sep 10, 200733 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 #62Jul 25, 200746 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)