title: How to validate that an array is not empty in Mongoid?
body: <pre><code>class Foo
    include Mongoid::Document
  
    field :bars, type:Array
  end
  </code></pre>
  
  <p>How to validate that the <code>bars</code> array is not empty?</p>