1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Rack::Request actually defines #query_string

This commit is contained in:
Carl Lerche 2010-03-03 00:03:29 -08:00
parent 5e0a05b8cb
commit c92d598abf

View file

@ -85,11 +85,6 @@ module ActionDispatch
subdomains(tld_length).join('.')
end
# The query string must always be present
def query_string
@env['QUERY_STRING']
end
# Returns the request URI, accounting for server idiosyncrasies.
# WEBrick includes the full URL. IIS leaves REQUEST_URI blank.
def request_uri