module ActiveSupport::Deprecation::Disallowed

def disallowed_warnings

which should be treated as disallowed.
Returns the configured criteria used to identify deprecation messages
def disallowed_warnings
  @disallowed_warnings ||= []
end