Permalink
Browse files

Merge pull request #3658 from arunagw/fix_initialize_var_name

It should be @calculated_ip not @calculate_ip
  • Loading branch information...
2 parents 4148a7c + c3ae1d2 commit e6f3299158fd2b3d34c2fe4ee98097b516d678c0 @vijaydev vijaydev committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/middleware/remote_ip.rb
View
2 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 e6f3299

Please sign in to comment.