Relative Content

Tag Archive for ruby-on-railsrubyincludemonkeypatchingtheforeman

Ruby module is not an ancestor after prepend

I’m developing a plugin to the Rails (6.1.7) project Foreman (v3.5.1; based on the Foreman Plugin Template) and face the issue that one of my modules (DnsInterfaceExtensions) ought to be prepended to a Foreman module. Problem is, even after prepend, DnsInterfaceExtensions does not show up as an ancestor to Foreman’s DnsInterface (in the Rails console):