ruby-on-railsrubygemssettingsruby-on-rails-plugins

Rails - handling global site settings


I'm developing a new rails application which is supposed to be installed several times in order to implement several sites.

There are some things, like the "Site Title" or the "Default Number of Items per Page" that clearly belong to a "global settings" table / config file.

I've made a list of the things I think I'll need:

I'm pretty sure I could implement this myself, but I'm not willing to reinvent the wheel. I've done some searching, but I could only find rails-settings, which doesn't really serve me: I need a proper model & controller so I can use declarative-authorization, and it does not provide any controller or view facilities.

Is there a gem or plugin out there that implements what I want, or any library I should look at?

Thanks a lot.


Solution

  • Edit: Thanks @Felix for the pointers, it seems that rails-settings-cached is a good current remedy to my 9-year-old question:

    http://github.com/huacnlee/rails-settings-cached .

    Old answer:

    I'll answer my question: there's none.

    You will have to implement your own system.