M
M
Meridian3122014-11-11 17:36:48
Ruby on Rails
Meridian312, 2014-11-11 17:36:48

Where to store meta data in rails?

I need to store some meta data in my rails application, what's the best way to do it?
Storage conditions:
- The data is in a single instance and may change
Beneath the meta data may be hash-settings for the app, which can be changed from within the application.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Viktor Vsk, 2014-11-11
@Meridian312

For example, in initializers you create a Singleton class

N
Nikolai, 2014-11-11
@j_wayne

I think the easiest way is in the db. Cache if necessary.

K
Kirill Platonov, 2014-11-11
@kirillplatonov

https://github.com/kaize/configus
or
https://github.com/kaize/configus#similar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question