aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-09-03 23:22:24 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-09-03 23:22:24 +0000
commit6d88a992b5e92c09527c7915a7e2c8da09acb95e (patch)
tree5dcb469f1c78ca87823e46e3cd88ead39285df02 /activesupport
parent5b6fb1356c672dc0cae157072d1340bb98f5b9f1 (diff)
downloadrails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.tar.gz
rails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.tar.bz2
rails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.zip
Added deprecation language for in_place_editor and auto_complete_field that both pieces will become plugins by Rails 2.0 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/deprecation.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb
index 01e1128af4..f4d4559f84 100644
--- a/activesupport/lib/active_support/deprecation.rb
+++ b/activesupport/lib/active_support/deprecation.rb
@@ -38,8 +38,8 @@ module ActiveSupport
private
def deprecation_message(callstack, message = nil)
file, line, method = extract_callstack(callstack)
- message ||= "WARNING: #{method} is deprecated and will be removed from Rails 2.0."
- "#{message}. See http://www.rubyonrails.org/deprecation for details. (#{method} at #{file}:#{line})"
+ message ||= "#{method} is deprecated and will be removed from Rails 2.0."
+ "DEPRECATION WARNING: #{message}. See http://www.rubyonrails.org/deprecation for details. (#{method} at #{file}:#{line})"
end
def extract_callstack(callstack)