O'Reilly logo

The Rails Way by Obie Fernandez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Reflecting on Rails Routing

 

You are in a maze of twisty little passages, all alike.

 
 --Adventure (late 70s-era computer game)

In this context, reflecting doesn’t mean pondering; it means examining, testing, and troubleshooting. The routing system gives you numerous points of entry for reflection of this kind—and there are some handy plugins that can help you further.

We’re not going to look at every technique and/or plugin, but in this chapter you’ll become acquainted with several important facilities that will help you make sure your routes are doing what you think they’re doing, and how to figure out why they’re not if they’re not.

We’ll also take a look at the source code for the routing system, including the RESTful routing facilities. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required