aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2011-11-17 12:50:19 +0530
committerArun Agrawal <arunagw@gmail.com>2011-11-17 12:50:19 +0530
commitc3ae1d2aec400d6aaea78bd94eb7845b71f1ec15 (patch)
tree0fe6f56796da79d1e8aac129dc7776933db78f3d /actionpack/lib/action_dispatch
parent4148a7ca7dc3f8c2a368068eb248d231aa096b41 (diff)
downloadrails-c3ae1d2aec400d6aaea78bd94eb7845b71f1ec15.tar.gz
rails-c3ae1d2aec400d6aaea78bd94eb7845b71f1ec15.tar.bz2
rails-c3ae1d2aec400d6aaea78bd94eb7845b71f1ec15.zip
It should be @calculated_ip not @calculate_ip
We are using @calculated_ip. @calculate_ip is no where used
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/middleware/remote_ip.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/remote_ip.rb b/actionpack/lib/action_dispatch/middleware/remote_ip.rb
index 8dbe3af6f1..66ece60860 100644
--- a/actionpack/lib/action_dispatch/middleware/remote_ip.rb
+++ b/actionpack/lib/action_dispatch/middleware/remote_ip.rb
@@ -35,7 +35,7 @@ module ActionDispatch
def initialize(env, middleware)
@env = env
@middleware = middleware
- @calculate_ip = false
+ @calculated_ip = false
end
# Determines originating IP address. REMOTE_ADDR is the standard