Method: ActiveRecord::QueryLogs#query_source_location
- Defined in:
-
activerecord/lib/active_record/query_logs.rb,
activerecord/lib/active_record/query_logs.rb
:nodoc:
113 114 115 116 117 118 119 |
# File 'activerecord/lib/active_record/query_logs.rb', line 113 def query_source_location # :nodoc: Thread.each_caller_location do |location| frame = LogSubscriber.backtrace_cleaner.clean_frame(location) return frame if frame end nil end |