In [this question](https://stackoverflow.com/questions/293981/best-practice-to-mark-deprecated-code-in-ruby) is explained what to do to make a simple warning (but do not log trace so is not so useful) and there is a bunch of methods to make this, but I found no guides.

How do I use ActiveSupport::Deprecation to mark a old\_method as deprecated and call other new\_method.