Class ActionController::Routing::Optimisation::PositionalArgumentsWithAdditionalParams
In: lib/action_controller/routing/optimisations.rb
Parent: PositionalArguments

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

Methods

Public Instance methods

To avoid generating "localhost/?host=foo.example.com" we can‘t use this optimisation on routes without any segments

This case uses almost the same code as positional arguments, but add an args.last.to_query on the end

[Validate]