Skip to content

Conversation

@vprigent
Copy link

@vprigent vprigent commented Mar 16, 2025

Our work setup is as follows:
We use docker for our rails app
We store our app within "/portal" in docker.

We also have a few folders called ".../portal/..." within the code which were getting swallowed by gsub.

backtrace_remove defaults to "#{Rails.root}/" and the only other search result for it within Github returned a similar usage but for a gem

Copy link
Contributor

@kbrock kbrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • This pretty much assumes that the backtrace_remove is on the left hand side of the file. (think this is a valid assumption)
  • Wonder if a regexp for backtrace_remove would meet your needs.
  • This may be a breaking change for people.

Having said all that, I think this is a great addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants