Module#parent_name broken for frozen classes · Issue #27637 · rails/rails

Steps to reproduce class A class B end end A::B.freeze A::B.parent_name Expected behavior Should return "A", and not try to cache the parent_name into an instance variable on the frozen class Actua...