instance method
params_array_from
Ruby on Rails 8.0.4
Since v4.0.13Signature
params_array_from(raw_params)
Takes raw_params and turns it into an array of parameters.
Parameters
-
raw_paramsreq
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 507
def params_array_from(raw_params)
raw_params.map { |param| param.split %r/=(.+)?/ }
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 507
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Token