In Rails only classes are reloadable, but the remove_const hack seems
to apply both to classes and modules. Does anybody know which is the
reason modules are not supported?
On Nov 18, 2006, at 11:43 AM, Xavier N. wrote:
In Rails only classes are reloadable, but the remove_const hack seems
to apply both to classes and modules. Does anybody know which is the
reason modules are not supported?
After reading ticket http://dev.rubyonrails.org/ticket/5821, the
reason might be there’s no known way to remove modules from non-
reloadable classes.
– fxn