title: How do I check if it returns a null?
body: <p>i should check whether there is some values based on this condition. if there is some, then i should do one action or else do a different action.
  i work on rails, mysql and xp<br>
  this is not working @test.nil? <br>suggest me a alternate way<br>
  @test=Model.find(:all,:conditions=>"id=@someid")<br>thanks in advance</p>