Created
November 8, 2010 17:58
-
-
Save dolzenko/668006 to your computer and use it in GitHub Desktop.
Make deprecation messages dump full stack trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ActiveSupport | |
module Deprecation | |
class << self | |
private | |
def deprecation_caller_message(callstack) | |
"(called from #{callstack.inspect})" | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment