Ruby library for declaring bulk predicates on models