instance method
extract_callstack
Ruby on Rails 5.2.8.1
Since v5.2.8.1 Last seen in v5.2.8.1 PrivateSignature
extract_callstack(callstack)
No documentation comment.
Parameters
-
callstackreq
Source
# File activerecord/lib/active_record/log_subscriber.rb, line 115
def extract_callstack(callstack)
line = callstack.find do |frame|
frame.absolute_path && !ignored_callstack(frame.absolute_path)
end
offending_line = line || callstack.first
[
offending_line.path,
offending_line.lineno
]
end
Defined in activerecord/lib/active_record/log_subscriber.rb line 115
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::LogSubscriber