Where is the best place to store application parameters : database, file, code…?

后端 未结 5 1649
礼貌的吻别
礼貌的吻别 2021-01-03 10:24

I am developing a Ruby on Rails website and I have an \"architectural\" question : my application needs some parameters and I\'m wondering where to store them.

In co

5条回答
  •  粉色の甜心
    2021-01-03 11:06

    There are lots of global configuration plugins, most of them revolve around the idea of loading a YAML file at some point. Check this page, this plugin and even this Railscast.

提交回复
热议问题