instance method
params_array_from
Ruby on Rails 6.0.6
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 470
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 470
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Token