Update Developer Guide for Redmine 4
The current Developer Guide references using the
alias_method_chain pattern to wrap an existing method. This no longer works with Redmine 4 as Rails 5 doesn't support it (Refer to #30209). This is breaking a number of plugins including mine.
Can the Developer Guide be updated as to what the recommended approach is and examples for wrapping an existing method in Redmine 4?
Updated by Bernhard Rohloff almost 5 years ago
Yep, I also think this should be fixed.
In the meantime you can look at my pull request for Redmine 4.0 compatibility of the plantUML plugin. After all, the fix for the deprecated alias_method_chain wasn't a big deal.