instance method
GET
Ruby on Rails 4.2.9
Since v3.0.20Signature
GET()
Override Rack’s GET method to support indifferent access
Source
# File actionpack/lib/action_dispatch/http/request.rb, line 299
def GET
@env["action_dispatch.request.query_parameters"] ||= Utils.deep_munge(normalize_encode_params(super || {}))
rescue Rack::Utils::ParameterTypeError, Rack::Utils::InvalidParameterError => e
raise ActionController::BadRequest.new(:query, e)
end
Defined in actionpack/lib/action_dispatch/http/request.rb line 299
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Request