From: "David A. Black" Date: 2008-06-16T00:42:18+09:00 Subject: Re: How !isset in Ruby Hi -- On Mon, 16 Jun 2008, Alexey Tafintsev wrote: > real_password=password > if real_password!=password > > This for DataBase check, see example in php! :-)))) My point is that since you have set real_password to password in the first line, there is no point checking to see whether they're equal in the second line, because you already know they are. The body of that 'if' statement will never be executed. David -- Rails training from David A. Black and Ruby Power and Light: ADVANCING WITH RAILS June 16-19 Berlin ADVANCING WITH RAILS July 21-24 Edison, NJ See http://www.rubypal.com for details and updates!