From e2e9eabc58bf3fa26deef75bd90892c0db9d6ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 8 Dec 2011 09:20:59 +0100 Subject: [PATCH] Remove dead broken code from AD::Request --- actionpack/lib/action_dispatch/http/request.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb index e86dfd64d2..c5c48ec489 100644 --- a/actionpack/lib/action_dispatch/http/request.rb +++ b/actionpack/lib/action_dispatch/http/request.rb @@ -35,14 +35,6 @@ def #{env.sub(/^HTTP_/n, '').downcase} # def accept_charset METHOD end - def self.new(env) - if request = env["action_dispatch.request"] && request.instance_of?(self) - return request - end - - super - end - def key?(key) @env.key?(key) end