rom icon indicating copy to clipboard operation
rom copied to clipboard

Fixed Object#with conflict with ActiveSupport 7.1

Open rykov opened this issue 1 year ago • 0 comments

ActiveSupport 7.1 defines Object#with that interferes with ROM. This PR fixes it.

We use define_method/undef_method sequence due to uncertain load order. The method needs to be defined for undef_method to mark a method as undefined. This solution ensures the fix works whether ActiveSupport is loaded before or after ROM.

Fixes #684

rykov avatar Oct 29 '23 03:10 rykov