Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Rails 中的引擎,我想使用模块化格式的其他模型和控制器来扩展它的功能。我的想法是创建一个“引擎的引擎”。这是最好的方法吗?如果是这样,您将如何实现这一目标?如果没有,有什么更好的方法?
除了第一个引擎之外,创建一个您将安装在主应用程序中的其他引擎怎么样?
CoreEngine ExtendedCoreEngine
您的附加模型和控制器是否特定于引擎并且与您的引擎安装的任何 Rails 应用程序无关?