We have what I suspect is an unusual setup. We have a Rails app which is something we sell to customers. We also package up bundles of business features into optional addons that the clients can purchase according to their needs. We have done these as Rails plugins/engines to keep them nicely separated.
This forces the unusual requirement that all of our business plugins have a dependency on the application itself. In other words, the framework is in main Rails app folder, while the business modules are in vendor/plugins. Put another way, they're hardly plugins if they rely on a particular app folder. Or are they?
This does work, so my question is out of architectural curiosity rather than a plea for help. But should this be considered an abuse of the plugin/engine system? Or is this one potential useful application of Rails engines?
Brendon.