Prior to this commit there was no support for models in subdirectories that weren't namespaced.
It's become a convention to clean up massive numbers of models by grouping them logically into
subdirectories (e.g. putting everything related to finances under app/models/finances).
This commit refactors the single line that retrieves the model class into a method that can
properly check for alternative class names.
Showing
Please
register
or
sign in
to comment