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

Use prepend instead of alias_method to fix compatibility #25

Closed
wants to merge 2 commits into from
Closed

Use prepend instead of alias_method to fix compatibility #25

wants to merge 2 commits into from

Conversation

alexandermeindl
Copy link

Hi,

with this PR alias_method is drop and prepend is used, to get compatibility to other plugins.

I am the author of additionals plugin and I also have emoji support in this plugin. Because I also wanted to use same Gemoji 4 technique, I want to drop emoji support and want to use your great plugin instead.

Problem is, that I use prepend for the same helper for other functionality and this conflicts with your plugin. If you would also use prepend, both plugins can be used together.

Some information about prepend: https://www.justinweiss.com/articles/rails-5-module-number-prepend-and-the-end-of-alias-method-chain/

@kimuraos
Copy link

kimuraos commented May 18, 2021

Hi @alexandermeindl
I think this PR also resolves #23 .
I confirmed redmine_persist_wfmt plugin can be co-worked with your fork.

This pull request was closed.
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