module ActiveSupport::Deprecation::Reporting

def extract_callstack(callstack)

def extract_callstack(callstack)
  return _extract_callstack(callstack) if callstack.first.is_a? String
  offending_line = callstack.find { |frame|
    frame.absolute_path && !ignored_callstack(frame.absolute_path)
  } || callstack.first
  [offending_line.path, offending_line.lineno, offending_line.label]
end