class method
self.deprecation_message
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v3.2.22.5 PrivateSignature
self.deprecation_message(callstack, message = nil)
No documentation comment.
Parameters
-
callstackreq -
messageopt = nil
Source
# File activesupport/lib/active_support/deprecation/reporting.rb, line 35
def deprecation_message(callstack, message = nil)
message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
message += '.' unless message =~ /\.$/
"DEPRECATION WARNING: #{message} #{deprecation_caller_message(callstack)}"
end
Defined in activesupport/lib/active_support/deprecation/reporting.rb line 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Deprecation