Unnecessary exception raised in AS::Dependencies.load_missing_constant

Ryan Kinderman
2010-02-15T00:46:22Z

There seems to be a bug in Rails dependency auto-loading logic that is
detailed here:

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2283

Andrew White created the issue in March of 2009, and it continues to
be an issue despite recent Rails 3 commits.  A number of patches have
been submitted, and there''s a healthy discussion that has been going
on for a while, but we''re sort of at a dead-end.

We  need input from someone that is involved in or deeply
knowledgeable of the current and/or planned future state of the
ActiveSupport dependency loading logic + ActiveRecord type name
resolution logic.

Please, if you are "in the know", we''d love for you to take a
look at
what we''ve found so far, and suggest how we should move forward, or
provide us with a sense of where things are going with the code
involved in fixing the bug.

Thanks


Ryan Kinderman