joelmoss/bitmask_attributes — pull request #15 by spemmons (2012-04-17 11:53:05+00:00)
Title: new :zero option to help with web forms that don't like creating empty arrays

includes full tests and docs...

bonus: adjusted class-level "bitmask_for_attribute(*values)" method to discard blank? values like the setter