diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-09-30 01:38:22 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-09-30 01:38:22 +0000 |
commit | 3010e30f0ed9407e3d608e8bb4859f09cb52c14e (patch) | |
tree | dcd3e07f73875c512fc7357331cabea6ff755ca8 /actionpack/lib/action_controller/rescue.rb | |
parent | 52547f53314a52de14d90befb90f4364d800671e (diff) | |
download | rails-3010e30f0ed9407e3d608e8bb4859f09cb52c14e.tar.gz rails-3010e30f0ed9407e3d608e8bb4859f09cb52c14e.tar.bz2 rails-3010e30f0ed9407e3d608e8bb4859f09cb52c14e.zip |
Fixed some deprecation warnings in ActionPack [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/rescue.rb')
-rw-r--r-- | actionpack/lib/action_controller/rescue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/rescue.rb b/actionpack/lib/action_controller/rescue.rb index b7df9fd125..34014bfd38 100644 --- a/actionpack/lib/action_controller/rescue.rb +++ b/actionpack/lib/action_controller/rescue.rb @@ -59,7 +59,7 @@ module ActionController #:nodoc: # the remote IP being 127.0.0.1. For example, this could include the IP of the developer machine when debugging # remotely. def local_request? #:doc: - [@request.remote_addr, @request.remote_ip] == ["127.0.0.1"] * 2 + [request.remote_addr, request.remote_ip] == ["127.0.0.1"] * 2 end # Renders a detailed diagnostics screen on action exceptions. |