method

extract_query_source_location

rails latest stable - Class: ActiveRecord::LogSubscriber

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

extract_query_source_location(locations)
private

No documentation available.

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