From: nahi Date: 2012-03-18T17:39:07+09:00 Subject: [ruby-core:43412] [ruby-trunk - Feature #3511][Feedback] rb_path_to_class should call custom const_defined? methods Issue #3511 has been updated by nahi. Description updated Status changed from Open to Feedback Aaron, is this hook extension still needed for your usecase? (assuming Rails?) Not bad but it would affect performance... ---------------------------------------- Feature #3511: rb_path_to_class should call custom const_defined? methods https://bugs.ruby-lang.org/issues/3511#change-24729 Author: tenderlovemaking Status: Feedback Priority: Normal Assignee: Category: Target version: =begin It would be nice if rb_path_to_class called custom const_defined? methods. This would give marshaled objects a chance to locate and define classes when they are being unmarshalled. I've attached a patch with a test that demonstrates the desired functionality and a (probably naive) implementation. =end -- http://bugs.ruby-lang.org/