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 /actionpack/lib | |
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 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/http/url.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb index f7afbe7fed..b64a83c62e 100644 --- a/actionpack/lib/action_dispatch/http/url.rb +++ b/actionpack/lib/action_dispatch/http/url.rb @@ -88,7 +88,7 @@ module ActionDispatch # Returns the request URI, accounting for server idiosyncrasies. # WEBrick includes the full URL. IIS leaves REQUEST_URI blank. def request_uri - ActiveSupport::Deprecation.warn "Using #request_uri is deprecated. Use fullpath instead." + ActiveSupport::Deprecation.warn "Using #request_uri is deprecated. Use fullpath instead.", caller fullpath end |