search for: bergstrm

Displaying 1 result from an estimated 1 matches for "bergstrm".

Did you mean: bergström
2006 Dec 17
1
MySQL syntax for self.authenticate
How can I add a password in MySQL directly and match the one Rails create? I understand that it uses SHA1 and then HEX, right (require ''digest/sha1''). But when I try that in MySQL the resulted string isn''t the same. This is what I do in MySQL: SELECT SHA1(''password+salt'') The result is process with SELECT HEX(''result'') Btw, should