class PositionalArguments

Ruby on Rails 2.3.18

Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Given a route

map.person '/people/:id'

If the user calls person_url(@person), we can simply return a string like “/people/#{@person.to_param}” rather than triggering the expensive logic in url_for.

Inherits from

ActionController::Routing::Optimisation::Optimiser

Methods (defined here)

Used by

Subclasses (1)

Methods (inherited)

From ActionController::Routing::Optimisation::Optimiser (5)
From Object (37)
From Benchmark (2)

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close