Subfolders in models

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
to add load_paths within a plugin’s init.rb, so that I don’t have to use
namespace (like Subfolder::Model)? I expected config.load_paths <<
models_subfolder_path to work, but only
ActiveSupport::Dependencies.load_paths << models_subfolder_path works.
it make sense to support load_paths now?

-Andrew R.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs