Class

PositionalArguments

Extends:

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

Public Methods
generation_code
guard_condition
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.