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