From: Sijo Kg Date: 2008-07-24T16:00:00+09:00 Subject: differnce between .nil? , .empty?, .blank? Hi Could you please tell me when to use .nil? , .empty?, .blank? .What are the difference between them.. For example I have params[:company][:whichCompany] And to check for it is null I first attempted all these and finally the following worked if !params[:company][:whichCompany].empty? So now really i am confused .Please tell me the differnce Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.