diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-10-30 12:42:23 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-10-30 12:42:23 +0100 |
commit | ea2545fd8dfcaafcf6eff58c0afe57c55e2c6317 (patch) | |
tree | d22f7bda3bb12005ef86c55fef01cb7ea45b3e33 /activesupport/lib/active_support/deprecation.rb | |
parent | a4b4463fca3b0f89680054235d821126e934dc98 (diff) | |
download | rails-ea2545fd8dfcaafcf6eff58c0afe57c55e2c6317.tar.gz rails-ea2545fd8dfcaafcf6eff58c0afe57c55e2c6317.tar.bz2 rails-ea2545fd8dfcaafcf6eff58c0afe57c55e2c6317.zip |
Update the default deprecation message to not promise that theres more info at the Rails site [#776 state:resolved]
Diffstat (limited to 'activesupport/lib/active_support/deprecation.rb')
-rw-r--r-- | activesupport/lib/active_support/deprecation.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb index 950bca60a6..b4d8f61b8c 100644 --- a/activesupport/lib/active_support/deprecation.rb +++ b/activesupport/lib/active_support/deprecation.rb @@ -51,8 +51,8 @@ module ActiveSupport 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) |