title: comparison of Fixnum with nil failed
body: <p>I coded like this,</p>
  
  <pre><code>@claim = Item.find(:something)  
  unless @claim.nil?  
    if @claim &gt;= a_condition  
      do_something
    end
  end
  </code></pre>
  
  <p>Even if @claim is a nil value,It is going inside the unless condition and giving the error "comparison of Fixnum with nil failed"  </p>
  
  <p>What is the wrong in my code.</p>