mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update the default deprecation message to not promise that theres more info at the Rails site [#776 state:resolved]
This commit is contained in:
parent
a4b4463fca
commit
ea2545fd8d
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ module ActiveSupport
|
||||||
|
|
||||||
private
|
private
|
||||||
def deprecation_message(callstack, message = nil)
|
def deprecation_message(callstack, message = nil)
|
||||||
message ||= "You are using deprecated behavior which will be removed from Rails 2.0."
|
message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
|
||||||
"DEPRECATION WARNING: #{message} See http://www.rubyonrails.org/deprecation for details. #{deprecation_caller_message(callstack)}"
|
"DEPRECATION WARNING: #{message}. #{deprecation_caller_message(callstack)}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def deprecation_caller_message(callstack)
|
def deprecation_caller_message(callstack)
|
||||||
|
|
Loading…
Reference in a new issue