rails/rails — pull request #8063 by nikitug (2012-10-29 15:31:27+00:00)
Title: Provide a call stack for deprecation warnings where needed.

It's sometimes hard to quickly find where deprecated call was performed, especially in case of migrating between Rails versions. So this is an attempt to improve the call stack part of the warning message by providing caller explicitly.