Skip to content
Browse files

Update the default deprecation message to not promise that theres mor…

…e info at the Rails site [#776 state:resolved]
  • Loading branch information...
1 parent a4b4463 commit ea2545fd8dfcaafcf6eff58c0afe57c55e2c6317 @dhh dhh committed Oct 30, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/deprecation.rb
View
4 activesupport/lib/active_support/deprecation.rb
@@ -51,8 +51,8 @@ def silence
private
def deprecation_message(callstack, message = nil)
- message ||= "You are using deprecated behavior which will be removed from Rails 2.0."
- "DEPRECATION WARNING: #{message} See http://www.rubyonrails.org/deprecation for details. #{deprecation_caller_message(callstack)}"
+ message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
+ "DEPRECATION WARNING: #{message}. #{deprecation_caller_message(callstack)}"
end
def deprecation_caller_message(callstack)

0 comments on commit ea2545f

Please sign in to comment.
Something went wrong with that request. Please try again.