0.0
No commit activity in last 3 years
No release in over 3 years
A simple database key-value settings system for settings that can't be in yaml files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 4.0.0
 Project Readme

Simple_settings

A simple way to set key value pairs in the database.

Usage

Install the migration adding the 'settings' table to your database:

    rake simple_settings:install:migrations

Restart your server and get or set values:

Setting.get :preferred_flavour
Setting.set :preferred_flavour, "Nacho cheese"

Note: If you try to get a setting which doesn't exists yet, it will be created on the fly as being an empty string.

##Pull requests Are always welcome :)