Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Superclass: ActionController::Routing::Optimisation::Optimiser

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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.

Show files where this class is defined (1 file)
Register or log in to add new notes.