I\'m monkey-patching a Rails engine with something like:
SomeClass.class_eval do # ... end
The first time I hit the web site, on developm
Have a look at how this gem handles "decorating" aka monkey patching something in an engine or vice versa:
https://github.com/EPI-USE-Labs/activesupport-decorators