The Rails routing system has always been a key component of theframework, and with the introduction of RESTful routes in the pastyear, it has taken center stage. Fully programmable, the routing systemgoverns the process of mapping request URLs to the appropriatecontroller action. Routing also helps you when you’re writing code, especially view templates, where the same logic that interprets URLsworks in reverse to automate the generation of URL strings in yourcode.
|