Skip to content

yanguango/acts_as_kv

Repository files navigation

ActsAsKv

ActsAsKv is a key-value simulate under relational db

Example

Suppose your model name is KvDB

You can do:

Usage

KvDb.set(:key_a, { :a => 1})
KvDb.get(:key_a) # { :a => 1}
KvDb.drop(:key_a) # 

Copyright (c) 2010 [rociiu.yu@gmail.com, yanguango@gmail.com], released under the MIT license

About

A rails plugin for creating key-value config model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages