RailsCasts Pro episodes are now free!

Learn more or hide this

Complex Forms Part 3
Episode #75Oct 15, 2007270 comments

Complex Forms Part 3

In this third and final episode on complex forms I will show you how to edit a project and multiple tasks all in one form. This includes removing and adding tasks dynamically as well. See the show notes for updated code. (16 minutes)
Complex Forms Part 2
Episode #74Oct 08, 2007117 comments

Complex Forms Part 2

See how to use Javascript and RJS to add and remove form fields dynamically. This episode will build upon the previous episode allowing you to create any number of tasks in one form the same time a project is created. (8 minutes)
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)
Adding an Environment
Episode #72Sep 24, 200726 comments

Adding an Environment

Rails comes with three environments: development, test, and production. But, you aren't restricted to just these. You can add your own! See how in this episode. (3 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)
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)
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)
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)
restful_authentication
Episode #67Aug 20, 2007123 comments

restful_authentication

Need multiple user authentication? If so, the restful_authentication plugin is a great way to go. It will generate some basic authentication code for you which is good starting point to your authentication system. Watch this episode for details. (9 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)