aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-09-03 19:37:44 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-09-03 19:37:44 +0000
commit57d941f5865045f715707371f329e7a9d6d755b4 (patch)
tree010b98bb6ffa1e3cdf7f0bfbb1531e4f3494e1b3
parentf71080a4754b909f3b9e5deecfb46f764df7e8df (diff)
downloadrails-57d941f5865045f715707371f329e7a9d6d755b4.tar.gz
rails-57d941f5865045f715707371f329e7a9d6d755b4.tar.bz2
rails-57d941f5865045f715707371f329e7a9d6d755b4.zip
Stress that 2.0 is the cut and that we will have a page listing deprecations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--activesupport/lib/active_support/deprecation.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb
index 0f1d6e9b8b..696227ca94 100644
--- a/activesupport/lib/active_support/deprecation.rb
+++ b/activesupport/lib/active_support/deprecation.rb
@@ -34,7 +34,8 @@ module ActiveSupport
private
def deprecation_message(callstack, message = nil)
file, line, method = extract_callstack(callstack)
- message ||= "WARNING: #{method} is deprecated and will be removed from the next major Rails release (2.0)"
+ message ||= "WARNING: #{method} is deprecated and will be removed from Rails 2.0. " +
+ "See http://www.rubyonrails.org/deprecation for details."
"#{message} (#{method} at #{file}:#{line})"
end