From: Robert Dober Date: 2006-09-18T19:45:12+09:00 Subject: Re: do .. unless ------=_Part_126022_25760547.1158576242016 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/18/06, Robert Klemme wrote: > > On 18.09.2006 12:11, Kevin Jackson wrote: > > how about: > > > > unless params[:qaddress].nil? > > cond_b =3D EZ::Where::Condition.new :properties do > > ... > > end > > end > > Maybe this (untested): > > params[:qaddress] and Would work if nil were the only thing evaluating to false, but there are certain instances of the FalseClass, you know ;) cond_b =3D EZ::Where::Condition.new :properties do > ... > end > > Kind regards > > robert idem --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_126022_25760547.1158576242016--