RubyGems.org

This plugin, greatly inspired by Jim Morris' blog post (http://blog.wolfman.com/articles/2007/08/07/bit-vector-preferences), aims to make it easy and flexible to store boolean preferences for an ActiveRecord model.This can be also used as a very quick way to setup an ACL. Because the values are stored within a bit vector, a virtually unlimited number of preferences can be created without additional migrations.

installgem install preference_fu
Authors

Brennan Dunn

7,889 total downloads 3,030 for this version
Owners

0682d7f247900fa9aca17a84525eca14

Gemfile
gem 'preference_fu', '~> 0.0.5'
Versions
  1. 0.0.5 August 2, 2011 (9 KB)
  2. 0.0.4 November 15, 2010 (9 KB)
  3. 0.0.3 November 15, 2010 (9 KB)
  4. 0.0.2 November 15, 2010 (8.5 KB)
  5. 0.0.1 November 15, 2010 (8.5 KB)
Runtime Dependencies
  1. jeweler ~> 1.5
Development Dependencies
  1. rails ~> 3.0.1
  2. sqlite3 >= 0