aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/rack
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-03-03 16:23:00 -0800
committerCarl Lerche <carllerche@mac.com>2010-03-03 21:24:00 -0800
commit52efbdcdefa678ae2ee9530bcfefd0e2529b188f (patch)
tree3e71fb2dab4c79e3150d2b078ead0ca3f5b7883e /railties/lib/rails/rack
parent93422af5d5bc0285bd72cfb2fd9b59f6d64ba141 (diff)
downloadrails-52efbdcdefa678ae2ee9530bcfefd0e2529b188f.tar.gz
rails-52efbdcdefa678ae2ee9530bcfefd0e2529b188f.tar.bz2
rails-52efbdcdefa678ae2ee9530bcfefd0e2529b188f.zip
Add caller to request_uri deprecation notice
Diffstat (limited to 'railties/lib/rails/rack')
-rw-r--r--railties/lib/rails/rack/logger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/rack/logger.rb b/railties/lib/rails/rack/logger.rb
index 2efe224e94..dd8b342f59 100644
--- a/railties/lib/rails/rack/logger.rb
+++ b/railties/lib/rails/rack/logger.rb
@@ -19,7 +19,7 @@ module Rails
def before_dispatch(env)
request = ActionDispatch::Request.new(env)
- path = request.request_uri.inspect rescue "unknown"
+ path = request.fullpath.inspect rescue "unknown"
info "\n\nStarted #{request.method.to_s.upcase} #{path} " <<
"for #{request.remote_ip} at #{Time.now.to_s(:db)}"