From 4bd444c1fe960e757819fb67dada0a5a0bf344e4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 3 Sep 2006 22:35:31 +0000 Subject: More deprecation fun git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/deprecation.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'activesupport/lib/active_support/deprecation.rb') diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb index 581d131c3a..01e1128af4 100644 --- a/activesupport/lib/active_support/deprecation.rb +++ b/activesupport/lib/active_support/deprecation.rb @@ -38,9 +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. " + - "See http://www.rubyonrails.org/deprecation for details." - "#{message} (#{method} at #{file}:#{line})" + 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})" end def extract_callstack(callstack) -- cgit v1.2.3