We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0054a5a commit 9443d91Copy full SHA for 9443d91
lib/irb/workspace.rb
@@ -122,6 +122,8 @@ def local_variable_get(name)
122
end
123
124
# error message manipulator
125
+ # WARN: Rails patches this method to filter its own backtrace. Be cautious when changing it.
126
+ # See: https://github.com/rails/rails/blob/main/railties/lib/rails/commands/console/console_command.rb#L8:~:text=def,filter_backtrace
127
def filter_backtrace(bt)
128
return nil if bt =~ /\/irb\/.*\.rb/
129
return nil if bt =~ /\/irb\.rb/
0 commit comments