class ActiveAdmin::ErrorLoading
Public Instance Methods
Source
# File lib/active_admin/error.rb, line 27 def find_cause(folder, backtrace) backtrace.grep(/\/(#{folder}\/.*\.rb):(\d+)/) { [$1, $2] }.first end
Locates the most recent file and line from the caught exception’s backtrace.