search for: contidion

Displaying 2 results from an estimated 2 matches for "contidion".

2009 Sep 27
2
Check value interval in a if loop
...that interval(from 0.05 to 0.1), and I tried these options: if(pvalue>0.05 or pvalue<0.1) (not possible because R don't recognise OR as operator) if(pvalue>0.05 || pvalue<0.1) (this one is not good enough, cause it fulfills one condition pvalue>0.05 but it doesn't get other contidion pvalue<0.1) does anyone know a way to stablish a inteval as an statement for my if loop. Thanks in advance Lucas _________________________________________________________________ [[alternative HTML version deleted]]
2006 Feb 03
4
contoller code mysteries
In my controller...this code works def list2 first_name = params[:client][:first_name] @myclients = Client.find(:all, :conditions => ["first_name = :first_name", {:first_name => first_name}]) end this code doesn''t... def list2 first_name = params[:client][:first_name] if first_name searchstring = ''["first_name =