Forum: Rails Engines subfolders in models

Bfccdb1c41c334fec20e5ede3a7ccfcc?d=identicon&s=25 Andrew Roth (andrewroth)
on 2009-03-16 04:25
(Received via mailing list)
Hi all,

Not sure if I should ask here or the rails mailing list.

Now that we can have app/models work automatically, shouldn't there be a
way
to add load_paths within a plugin's init.rb, so that I don't have to use
a
namespace (like Subfolder::Model)?  I expected config.load_paths <<
models_subfolder_path to work, but only
ActiveSupport::Dependencies.load_paths << models_subfolder_path works.
Does
it make sense to support load_paths now?

-Andrew Roth
This topic is locked and can not be replied to.