diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-03-03 16:23:00 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-03 21:24:00 -0800 |
commit | 52efbdcdefa678ae2ee9530bcfefd0e2529b188f (patch) | |
tree | 3e71fb2dab4c79e3150d2b078ead0ca3f5b7883e /railties/lib/rails/rack | |
parent | 93422af5d5bc0285bd72cfb2fd9b59f6d64ba141 (diff) | |
download | rails-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.rb | 2 |
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)}" |