title: Rails Mongoid show all documents using "where"
body: <p>I try to pass value as parameter, to array:</p>
  
  <p><strong>Controller:</strong></p>
  
  <pre><code>@users = User.all.page(params[:page]).per(params[:per_page]).order(sort_by =&gt; sort_order).where(type: {'$all': ["#{params[:type]}"] })
  </code></pre>
  
  <p>Now, is it possible to find all document from collection using:</p>
  
  <pre><code>.where(type: {'$all': ['something_to_find_all_from type:'] })
  </code></pre>
  
  <p>?</p>