joelmoss/bitmask_attributes — pull request #20 by steveh (2012-09-10 03:51:03+00:00)
Title: Prefix the column name with the table name to prevent ambiguous select statements

This could use additional work (to quote the table name and column name properly) but this works for now.