instance method
rewrite_param_values
Ruby on Rails 5.0.7.2
Since v4.0.13Signature
rewrite_param_values(array_params)
This removes the " characters wrapping the value.
Parameters
-
array_paramsreq
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 478
def rewrite_param_values(array_params)
array_params.each { |param| (param[1] || "").gsub! %r/^"|"$/, '' }
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 478
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Token