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, whereadd_method_tracer :populate
relies oninstance_exec
. This would fail because ThinkingSphinx::Search undefs all instance methods not included in a safe-list.