Still being my lazy self
Was looking at my beloved dream cellphone. =P
I got this Quicktime movie from the SE site. Check it out.
If you can't see this movie, go to http://members.shaw.ca/kitty_angel/k850_1Mbps.mov.
Sorry for my bad XHTML. =P
學如逆水行舟,不進則退 (Learning is like rowing upstream, not to advance is to drop back.) - Chinese proverb
def self.authenticate(userName, password)This is only 1/1000 of our coding lines...hahaha...
find(:first, :conditions => ["userName = ? and password = ?", userName, Digest::SHA1.hexdigest(password)])
end