Rails has a function when models, controllers, views, libraries, etc. automatically load when they are needed. This is especially useful in development mode, where they also automatically restart.
How can I say that Rails performs an automatic download, somewhere it does not expect files to load? Let's say I create a folder app/addonsor something else, and I want it to load classes in the same way that models loaded. Therefore, if I have app/addons/foo.rb, I want to be able to call the class Foo.
source
share