There's no documentation for this item.
| Classes | |
|---|---|
| Mapper | Mapper instances are used to build routes. The object passed to the draw block in config/routes.rb is a Mapper instance. |
| NamedRouteCollection | A NamedRouteCollection instance is a collection of named routes, and also maintains an anonymous module that can be used to install helpers for the named routes. |
| Public Attributes | |
|---|---|
| named_ |
|
| routes | |
| Public Methods | |
|---|---|
| add_ |
|
| add_ |
|
| build_ |
|
| builder | Subclasses and plugins may override this method to specify a different RouteBuilder instance, so that other route DSL’s can be created. |
| clear! | |
| draw | |
| empty? | |
| extra_ |
Generate the path indicated by the arguments, and return an array of the keys that were not used to generate it. |
| extract_ |
Subclasses and plugins may override this method to extract further attributes from the request, for use by route conditions and such. |
| generate | |
| generate_ |
|
| install_ |
|
| load! | |
| load_ |
|
| new | |
| options_ |
|
| raise_ |
try to give a helpful error message when named route generation fails |
| recognize | |
| recognize_ |
|
| reload | |
| reload! | Alias for #load! |
| routes_ |
|
| routes_ |
|
| routes_ |
|
| routes_ |
|
<code/>and<pre/>for code samples.