Chapter 5. Reflecting on Rails Routing
You are in a maze of twisty little passages, all alike.
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 ...