Permalink
Browse files

Initialize our instance variables.

  • Loading branch information...
tenderlove committed Nov 17, 2011
1 parent 70f9b74 commit e3671422556ac61f39539264713ba9c04814b80f
Showing with 3 additions and 1 deletion.
  1. +3 −1 actionpack/lib/action_dispatch/middleware/remote_ip.rb
@@ -33,7 +33,9 @@ def call(env)
class GetIp
def initialize(env, middleware)
- @env, @middleware = env, middleware
+ @env = env
+ @middleware = middleware
+ @calculate_ip = false
end
# Determines originating IP address. REMOTE_ADDR is the standard

0 comments on commit e367142

Please sign in to comment.