title: how to do Boolean grouping search?
body: <p>How to do Boolean grouping search in ruby on rails with dynamic values?
  Can anyone give me sample example or reference link for Boolean grouping search.</p>
  
  <p>Example:</p>
  
  <pre><code>(quick OR brown) AND fox
  </code></pre>
  
  <p>quick OR brown should be executed first and that result should do AND search with fox. </p>
  
  <p>Thanks.</p>