title: Not Null in "count" or "find" function in rails
body: <p>I'm trying to find the not null elements in a database</p>
  
  <pre><code>@genus_counts = Table.count(:all, :conditions=&gt; {:col1 =&gt; params[:gm], :col2 =&gt; nil}, :without =&gt; {:col3 =&gt; nil})
  </code></pre>
  
  <p>It's not recognising "without" function. I am in doubt to apply it as array value.</p>
  
  <pre><code>@genus_counts = Table.count(:all, :conditions=&gt; {:col1 =&gt; params[:gm], :col3 != nil :col2 =&gt; nil})
  </code></pre>
  
  <p>It's not recognising "!=" operator.... Kindly suggest me and correct above statement. I am in doubt to apply it as array value.</p>
  
  <p><code>@genus_counts</code> is a local variable, I can't apply it as array. Kindly tell me the suggestion to bring this output to view.erb.html</p>
  
  <p>-- 
  With Regards
  Palani Kannan. K</p>