Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit ea2545fd8dfcaafcf6eff58c0afe57c55e2c6317 1 parent a4b4463
@dhh dhh authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.