Forum: Rails Engines subfolders in models

Posted by 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.