GlobalOptions
This project rocks and uses MIT-LICENSE.
Install
Bundle it in your Gemfile:
gem 'global_options'
Install migrations:
rails railties:install:migrations
Run migrations:
rails db:migrate
Usage
Set options
GlobalOptions::GlobalOption.set("my_option", "my_value")
Get options
GlobalOptions::GlobalOption.get("my_option") #=> "my_value"