RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: redirect x
Complex Forms Part 1
Episode #73Oct 01, 2007171 comments

Complex Forms Part 1

Complex forms often lead to complex controllers, but that doesn't have to be the case. In this episode see how you can create multiple models through a single form while keeping the controller clean. (8 minutes)
Rake in Background
Episode #127Sep 15, 200862 comments

Rake in Background

In need of a background process? You may be able to accomplish this with a simple Rake task. See how in this episode. (10 minutes)
Session Based Model
Episode #119Jul 21, 200863 comments

Session Based Model

If you have a lot of logic associated with the data inside a session, you'll need some central location to put this logic. See how to create a session based model in this episode. (13 minutes)
Dynamic Layouts
Episode #125Sep 01, 200842 comments

Dynamic Layouts

Discover how to dynamically change the layout using content in the database. Check out this episode for details. (11 minutes)
OpenID Authentication
Episode #68Aug 27, 200775 comments

OpenID Authentication

Ever wonder how to implement OpenID authentication in your Rails app? This episode will show you how to add it to a site with an existing authentication system. (11 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)
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)
AJAX with RJS
Episode #43Jun 11, 200799 comments

AJAX with RJS

This episode will walk you through adding AJAX functionality to a form using RJS. See how to easily update multiple elements on a page. (11 minutes)
Super Simple Authentication
Episode #21Apr 20, 200777 comments

Super Simple Authentication

The final piece of the administration puzzle: authentication. There are many different approaches which is why I saved this step for last. This episode will cover a few techniques including the simple solution used for this site. (6 minutes)
Catch-all Route
Episode #46Jun 18, 200751 comments

Catch-all Route

Sometimes you need to add complex/dynamic routes. This is often impossible to do in routes.rb, but do not worry. It can be accomplished with a catch-all route. See how in this episode. (5 minutes)