Skip to content

Commit

Permalink
Update the default deprecation message to not promise that theres mor…
Browse files Browse the repository at this point in the history
…e info at the Rails site [rails#776 state:resolved]
  • Loading branch information
dhh committed Oct 30, 2008
1 parent a4b4463 commit ea2545f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activesupport/lib/active_support/deprecation.rb
Expand Up @@ -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)
Expand Down

0 comments on commit ea2545f

Please sign in to comment.