Subfolders in models


#1

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 R.