Access denied, Please sign in and make sure you have proper permission.
:field.in => ['one', 'two']
有这么几个常用的:
.any_in(:category => array)
.all_in(:category => array)
.any_of({ :shape => "round" }, { :color => "red" })
.and(:amount.gt => 100, :account_status => "active")
我的第一反应是{$or:[{:a=>1},{:b=>2}]}