instance method
extract_query_source_location
Ruby on Rails 6.0.6
Since v6.0.6 Last seen in v7.0.10 PrivateSignature
extract_query_source_location(locations)
No documentation comment.
Parameters
-
locationsreq
Source
# File activerecord/lib/active_record/log_subscriber.rb, line 112
def extract_query_source_location(locations)
backtrace_cleaner.clean(locations.lazy).first
end
Defined in activerecord/lib/active_record/log_subscriber.rb line 112
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::LogSubscriber