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

20,753 total downloads 5,900 for this version
Owners

D68c97e8e2f1653b54c24493caf236ae3bc5b0442b6d5e896139ec88e34148f9

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