mirror of
https://github.com/github/rails.git
synced 2026-01-25 22:38:33 -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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user