Permalink
Browse files

It should be @calculated_ip not @calculate_ip

We are using @calculated_ip. 
@calculate_ip is no where used
  • Loading branch information...
1 parent 4148a7c commit c3ae1d2aec400d6aaea78bd94eb7845b71f1ec15 @arunagw arunagw committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/middleware/remote_ip.rb
@@ -35,7 +35,7 @@ class GetIp
def initialize(env, middleware)
@env = env
@middleware = middleware
- @calculate_ip = false
+ @calculated_ip = false
end
# Determines originating IP address. REMOTE_ADDR is the standard

0 comments on commit c3ae1d2

Please sign in to comment.