I have a category field of type Array in Mongoid.
category
type
Array
Ex. category: [\"val1\",\"val2\",\"val3\"]
You can use Criteria all_in to make it simpler:
all_in
Model.all_in(category: ['val1','val2'])