Methods
Instance Public methods
Returns both GET and POST parameters in a single hash.
This method is also aliased as
params
# File actionpack/lib/action_dispatch/http/parameters.rb, line 8 8: def parameters 9: @env["action_dispatch.request.parameters"] ||= begin 10: params = request_parameters.merge(query_parameters) 11: params.merge!(path_parameters) 12: encode_params(params).with_indifferent_access 13: end 14: end
Alias for parameters
Returns a hash with the parameters used to form the path of the request. Returned hash keys are strings:
{'action' => 'my_action', 'controller' => 'my_controller'}
See symbolized_path_parameters for symbolized keys.
The same as path_parameters with explicitly symbolized keys.