How to keep DRY with a ActiveAdmin or RailsAdmin, separate from the main application

后端 未结 2 1742
陌清茗
陌清茗 2021-02-06 00:04

I am building a JSON-only application, it is basically a leaner Rails, with fewer middleware and fewer modules. This is an application being built in Rails 4.

I want to

2条回答
  •  遥遥无期
    2021-02-06 00:45

    did you measure the impact of adding tools like ActiveAdmin to the speed of your rest API? if not, this sounds like a case of premature optimization to me.

    in the case that the API speed really has an impact by a library that is loaded but not used, then you could create multiple applications and share the models in a git submodule.

提交回复
热议问题