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

Include instance_exec in ThinkingSphinx::Search::CORE_METHODS #1210

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

jdelStrother
Copy link
Contributor

I ran into this when trying to instrument ThinkingSphinx::Search#populate with NewRelic 8, where add_method_tracer :populate relies on instance_exec. This would fail because ThinkingSphinx::Search undefs all instance methods not included in a safe-list.

I ran into this when trying to instrument `ThinkingSphinx::Search#populate` with NewRelic 8, where `add_method_tracer :populate` relies on `instance_exec`. This would fail because ThinkingSphinx::Search undefs all instance methods not included in a safe-list.
@pat pat merged commit c54df19 into pat:develop Oct 14, 2021
@pat
Copy link
Owner

pat commented Oct 14, 2021

Thanks :)

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