Rails routing demystified

Routing examines the URL of an incoming request and determines what the
application should do. “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 Rails developer Obie F…

In a chapter from his book The Rails Way, Fernandez explains how to best
use
the Rails routes.rb file, including what the default route does; as well
as
how to write custom routes, use static strings and wildcards in routes,
create your own “receptors,” and more.

Posted on Computerworld.com at


Sharon M.
Online Managing Editor
Computerworld