routing episodes

#139
Dec 08, 2008

Nested Resources

In this episode I show how to nest resources through routing and go into some new additions in Rails 2.2.
Download (20.4 MB, 10:20)
alternative download for iPod & Apple TV (14.3 MB, 10:20)
#124
Aug 25, 2008

Beta Invitations

You know those invitation systems where a given user can invite a number of other people to join? That's what I show you how to make in this episode.
Download (39.3 MB, 22:17)
alternative download for iPod & Apple TV (28.5 MB, 22:17)
#123
Aug 18, 2008

Subdomains

Learn how to unleash the full potential of subdomains with the subdomain-fu Rails plugin in this episode.
Download (32.8 MB, 18:21)
alternative download for iPod & Apple TV (23.9 MB, 18:21)
#87
Jan 06, 2008

Generating RSS Feeds

See how to easily generate and link to an RSS feed using new features in Rails 2.0. Watch this episode or details.
Tags: views routing
Download (12.4 MB, 6:06)
alternative download for iPod & Apple TV (8.1 MB, 6:06)
#79
Nov 11, 2007

Generate Named Routes

This more advanced episode will show you how to dynamically generate named routes by adding a method to the map object.
Tags: routing
Download (9.2 MB, 5:59)
alternative download for iPod & Apple TV (7.4 MB, 5:59)
#70
Sep 10, 2007

Custom Routes

In this episode you will learn how to add custom routes, make some parameters optional, and add requirements for other parameters.
Download (10.6 MB, 7:05)
alternative download for iPod & Apple TV (8.5 MB, 7:05)
#63
Jul 27, 2007

Model Name in URL

By default, Rails uses the model's id in the URL. What if you want to use the name of the model instead? You can change this behavior by overriding the to_param method in the model. Watch this episode for details.
Download (10.8 MB, 6:07)
alternative download for iPod & Apple TV (7.9 MB, 6:07)
#46
Jun 18, 2007

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.
Download (11.9 MB, 5:58)
alternative download for iPod & Apple TV (7.4 MB, 5:58)
#35
May 23, 2007

Custom REST Actions

REST adds many constraints. It restricts your controllers to seven actions. Normally this is okay, but sometimes you need to add your own custom actions. Learn how in this episode.
Download (20.8 MB, 8:44)
alternative download for iPod & Apple TV (12.1 MB, 8:44)
#34
May 21, 2007

Named Routes

When you add a custom route, make it a named route so you have url helper methods to easily link to that new route. See episode for details.
Download (30.9 MB, 6:39)
alternative download for iPod & Apple TV (9.8 MB, 6:39)

sponsored by:
if you want to help:
required:
Get Quicktime Player