views:

4

answers:

0

I am still new to Rails.

I need to store many (dozens) of booleans in a Rails model (of which thousands will exists in the DB). I came across FlagShihTzu (http://github.com/xing/flag_shih_tzu) that makes it easy to store the booleans in the bits of an integer. (If you know of a better way, please let me know.)

Anyone know if FlagShihTzu is efficient at searching for records that match on a given set of booleans?