Submission + - Rails routing explained in detail (computerworld.com)
cweditor writes: "The Rails routing system examines the URL of an incoming request and determines what action should be taken by the application. (And a bit more). "Rails routing can be a bit of a tough nut to crack. But it turns out that most of the toughness resides in a small number of concepts. After you've got a handle on those, the rest falls into place nicely," says Ruby on Rails developer Obie Fernandez.
In this chapter from his book The Rails Way, Fernandez explains how to best use the Rails routes.rb file, including what the default route does, how to write custom routes, using static strings and wildcards in routes, creating your own 'receptors' and more."