-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
triageA new issue that needs review by the core teamA new issue that needs review by the core team
Description
The implementation of Rails::BacktraceCleaner filters out everything that doesn't come from the app, config, lib, or test directories, which obviously impacts using packs to organize a Rails codebase. I also noticed this was raised in the Rails forum here.
Would it make sense to have an implementation of this in packs-rails, which inherits from ActiveSupport::BacktraceCleaner, and it adds the packs directory?
Something like:
APP_DIRS_PATTERN = /\A(?:\.\/)?(?:app|config|lib|test|packs|\(\w*\))/
# ...
add_silencer { |line| !APP_DIRS_PATTERN.match?(line) }The alternative to this is to call remove_filters! on the Rails::BacktraceCleaner, but obviously this would remove a bunch of useful configuration that we're getting from the ActiveSupport::BacktraceCleaner.
Metadata
Metadata
Assignees
Labels
triageA new issue that needs review by the core teamA new issue that needs review by the core team
Type
Projects
Status
Up for grabs