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

Fix ActionController patching conflict #391

Merged
merged 1 commit into from
Apr 6, 2018

Conversation

delner
Copy link
Contributor

@delner delner commented Apr 6, 2018

Some gems patch ActionController by overriding process_action, which creates a conflict that can result in either gem not working properly.

The problem can manifest as traces that are missing ActionController traces:

screen shot 2018-04-06 at 2 23 02 pm

This pull request adds a prepend patching strategy for applications that use Ruby 2.0+, which prevents this from happening. Applications that use Ruby < 1.9.3 that also have a gem that conflicts with ours, will not be fixed by this change.

@delner delner requested a review from palazzem April 6, 2018 18:43
@delner delner self-assigned this Apr 6, 2018
@delner delner added bug Involves a bug integrations Involves tracing integrations labels Apr 6, 2018
@delner delner added this to the 0.12.0 milestone Apr 6, 2018
@delner delner force-pushed the bugfix/action_controller_patcher_conflict branch from 9006641 to 2de02f1 Compare April 6, 2018 19:34
Copy link
Contributor

@palazzem palazzem left a comment

Choose a reason for hiding this comment

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

All good to me!

@delner delner force-pushed the bugfix/action_controller_patcher_conflict branch from 2de02f1 to 2b37cf1 Compare April 6, 2018 21:20
@delner delner merged commit 31c733d into 0.12-dev Apr 6, 2018
@delner delner deleted the bugfix/action_controller_patcher_conflict branch April 6, 2018 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Involves a bug integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants