Sign in through GitHub
Applied Filters: Routing x
Subdomains (revised)
Episode #123Jan 13, 201211 comments

Subdomains (revised)

In Rails 3.1 subdomains are easier than ever to use. Here I show how to route a subdomain to a specific controller action, generate links, nest resources, and more. (7 minutes)
Pretty URLs with FriendlyId
Episode #314Jan 09, 201221 comments

Pretty URLs with FriendlyId

If you are tired of model ids in the URL, overriding to_param can only get you so far. The friendly_id plugin can help by making it easy to generate a URL slug and maintain a history. (7 minutes)
Routing Walkthrough Part 2
Episode #232Sep 19, 201013 comments

Routing Walkthrough Part 2

In this episode we continue our look into the Rails 3 router by exploring the Mapper class. (13 minutes)
Routing Walkthrough Part 1
Episode #231Sep 13, 201044 comments

Routing Walkthrough Part 1

How does routing work internally in Rails 3? In this episode I'll walk you through the Rails code that makes routing possible. (13 minutes)
Rack in Rails 3
Episode #222Jul 12, 201012 comments

Rack in Rails 3

The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal. (8 minutes)
Subdomains in Rails 3
Episode #221Jul 05, 201055 comments

Subdomains in Rails 3

It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode. (13 minutes)
Routing in Rails 3
Episode #203Mar 01, 201012 comments

Routing in Rails 3

Rails 3 sports a new routing interface. In this episode I show how to translate the old interface into the new one and show off a few new features. (13 minutes)
Edit Multiple
Episode #165Jun 08, 200926 comments

Edit Multiple

Use checkboxes to select multiple records and edit them all in one form as shown in this episode. With virtual attributes you can even edit values relatively! (14 minutes)
Polymorphic Association
Episode #154Mar 23, 200989 comments

Polymorphic Association

Polymorphic associations can be perplexing. In this episode I show you how to set it up in Active Record and then move to the controller and view layer. (8 minutes)
Sortable Lists
Episode #147Feb 02, 200935 comments

Sortable Lists

Creating drag & drop sortable lists is fairly easy using Prototype and the built in helper methods. See how in this episode. (8 minutes)