Class

PositionalArgumentsWithAdditionalParams

This case is mostly the same as the positional arguments case above, but it supports additional query parameters as the last argument

Public Methods
applicable? To avoid generating localhost/?host=foo.example.com we can’t use this optimisation on routes without any segments
generation_code This case uses almost the same code as positional arguments, but add an args.last.to_query on the end
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.