method
extract_callstack
rails latest stable - Class:
ActiveRecord::LogSubscriber
extract_callstack(callstack)private
No documentation available.
# 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