Validation issue using multiple Proc objects
<p>I have validation with <code>Proc</code> and problem with it</p>

<pre><code>validates :subcategory, presence: true, 
if: Proc.new {|product| product.detail.blank?} &amp;&amp; Proc.new { |product|  product.category.id != 16 }
</code></pre>

<p>My problem is when i have <code>true</code> in second proc my validation fires.</p>

<p>Why is it so? Should it not return <code>false</code> because <code>false &amp;&amp; true=&gt;false</code>?</p>