plugin: has_many_booleans

has_many_booleans is an ActiveRecord plugin which generates virtual
boolean attributes for a model. When the object gets saved, the plugin
transforms all attributes into a single integer, using a bitset. So you
can easily add new attributes without changing the database structure.

http://github.com/janlelis/has_many_booleans