module A class B vs class A::B

Are those two the same thing? I’m overriding a gem model so I put it in a namespace folder under models but what about modifying the file? Should I leave the module statement the way it is or remove it and replace the class name with the same prefix Module::Model

Could you post some code about what you need to change and how you were thinking of changing it?