instance method extract_query_source_location

Ruby on Rails 6.1.7.10

Since v6.0.6 Last seen in v7.0.10 Private

Available in: v6.0.6 v6.1.7.10 v7.0.10

Signature

extract_query_source_location(locations)

No documentation comment.

Parameters

locations req
Source
# File activerecord/lib/active_record/log_subscriber.rb, line 131
      def extract_query_source_location(locations)
        backtrace_cleaner.clean(locations.lazy).first
      end

Defined in activerecord/lib/active_record/log_subscriber.rb line 131 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::LogSubscriber

Type at least 2 characters to search.

↑↓ navigate · open · esc close