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