Simple bitmask attribute support for ActiveRecord 3+