method

first_clean_location

rails latest stable - Class: ActiveSupport::BacktraceCleaner

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

first_clean_location(kind = :silent)
public

Returns the first clean location of the caller’s call stack, or nil.

Locations are Thread::Backtrace::Location objects. Since they are immutable, their path attributes are the original ones, but filters are applied internally so silencers can still rely on them.