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/