I have a class that inherits from class User.
eg
class MyClass < User
end
In my code base I have a class user
class User
end
However I also have a plugin that provides a User class in a module TheirModule::User. This is a plugin that my application is tied to and I cannot remove it at the moment, however that is what I would prefer to do.
From the console I can access MyClass and the inheritance is correctly determined. However when running the application there seems to be some confusion which User class I intend to inherit from and therefore the inheritance fails.
Is there a way to explicitly inherit from my User class and prevent confusion with the TheirModule::User