Re: Unnecessary exception raised in AS::Dependencies.load_missing_constant

Andrew White
2010-02-16T14:19:09Z

On 15 Feb 2010, at 14:26, Yehuda Katz wrote:

> Actually that''s precisely where it belongs.
ActiveSupport::Dependencies should mirror the Ruby logic exactly (in other
words, it should be possible to require all the files manually and have
everything work). If Admin::Account has_many :users needs to be able to pull
Admin::User, ActiveRecord should know how to do that.

Okay, I''ve patched compute_type so that the error doesn''t get
triggered:

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


Andrew White