AS deprecation is present on 2.3.x too, so we can use it. https://github.com/rails/rails/blob/2-3-stable/activesupport/lib/active_support/deprecation.rb