RubyGems.org

It just makes sense to store mutable, site-wide, admin-level settings in the database. Right? A key-value table may be more flexible, but maybe we don't want to be flexible! If you truly want that flexibility: http://github.com/stephencelis/kvc

installgem install acts_as_singleton
Authors

Stephen Celis

59,998 total downloads 23,759 for this version
Owners

D68c97e8e2f1653b54c24493caf236ae

Gemfile
gem 'acts_as_singleton', '~> 0.0.8'
Versions
  1. 0.0.8 May 18, 2012 (7 KB)
  2. 0.0.7 September 1, 2011 (7 KB)
  3. 0.0.6.beta July 28, 2010 (7 KB)
  4. 0.0.5 July 28, 2010 (7 KB)
  5. 0.0.4 January 21, 2010 (7 KB)
Show all versions (8 total)
Runtime Dependencies
  1. activerecord >= 3.1.0
Development Dependencies
  1. rake >= 0
  2. sqlite3-ruby >= 0