Metasearch rails gem multiple time search by field <p>I have such code of searching (with metasearch rails gem):</p> <pre><code>@pre_oils = Oil.search({:manufacturer_like =&gt; params[:oilbrand], :description_like =&gt; params[:oiloiliness], :description_like =&gt; params[:oilstructure], :capacity_eq =&gt; params[:oilsize]}) </code></pre> <p>But i must to search via description with like on two params: oiloiliness, oilstructure... In some cases i could have first, but didn'r have oilstructure or have oilstructure but didn't have oiloiliness...</p> <p>if i leave</p> <pre><code>@pre_oils = Oil.search({:manufacturer_like =&gt; params[:oilbrand], :description_like =&gt; params[:oiloiliness], :capacity_eq =&gt; params[:oilsize]}) </code></pre> <p>all is ok</p> <p>Now it is not searching via oiloiliness, but why ? How to do it? How to search via both fields?</p>