Closed toroidal-code closed 10 years ago
Maybe something like rails-settings-cached would work?
Are the preferences often changing or not. Because if they don't change often, they should go on an initializer.
If the preferences should be easily changeable at runtime by users, we should use something like Active Admin. Otherwise, we should use an initializer as @kristenmills recommends.
These would be runtime preferences.
ActiveAdmin looks too pre-baked. I was leaning more towards something that we could build a JSON API around, similar to how the rest of the application functions. It looks like rails-settings-cached would let us do this.
I don't really know how to do preferences in a Rails application. But we're going to need some things, such as preferred file type, saving metadata edits to disk, etc.
Maybe @kristenmills has an idea?