A few weeks ago we added a new extension mechanism to Ubiquo, to easily overcome all the issues that show up in Rails projects when you try to extend classes or modules. If you have tried it, you will know that some factors have to be taken into account, primarily, the loading order and the caching or not of classes. As you try to modularize your application, you run into bigger problems, and in the end the load of the different components can be something similar to a puzzle.
Using Ubiquo Extensions Loader these problems are now gone. This is the mechanism that we use for example to conditionally extend a plugin from another plugin, or to safely extend a plugin from an application. Take a look at the guide for more information, and start using it in all your edge Ubiquo projects, since it’s bundled in ubiquo_core.