diff options
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/exception.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/exception.rb b/activesupport/lib/active_support/core_ext/exception.rb index 2e3965117b..ec15a915be 100644 --- a/activesupport/lib/active_support/core_ext/exception.rb +++ b/activesupport/lib/active_support/core_ext/exception.rb @@ -28,6 +28,6 @@ class Exception # :nodoc: end def framework_backtrace - clean_backtrace.select {|line| line =~ FrameworkRegexp} + clean_backtrace.grep FrameworkRegexp end -end
\ No newline at end of file +end |