Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "ignore list" to use when determining location of ActiveRecord call #123

Open
mikeweaver opened this issue May 14, 2017 · 1 comment

Comments

@mikeweaver
Copy link

We have monkey patched the Mysql2Adapter, which, as a result, causes all our ActiveRecord calls to appear to originate from the monkey patch code, rather than the actual caller. I'd like to be able to configure a list of files that would be treated as if they were part of ActiveRecord, not our app, so the location the query was issued from will be accurate.

I would be happy to implement this, I just need some pointers as to where.

@mikeweaver
Copy link
Author

Actually, I think I found the location in app_notifications.rb. I will get you a PR with a configurable ignore files list in a bit.

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

No branches or pull requests

1 participant