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
上级 f71080a4
......@@ -34,7 +34,8 @@ def silence
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册