search for: zhengdao

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

Did you mean: zhanghao
2008 Jul 17
2
Passing array to the email body using ActionMailer
...ntains lots of file names. So the email will look like: hi, filename1 filename2 filename3 . . . filenameN So I want to pass an array containing all the filenames into the email body. My code is below: class Notifier < ActionMailer::Base def log_report(recipient, files) from ''zhengdao.kan-TVtm3wuDI7lWk0Htik3J/w@public.gmane.org'' recipients recipient subject ''Ruby automation scripts report'' body ("Errors are detected in the following log files. Here''s the log file: #{files}") end end When I run the code, I receive ema...
2011 May 09
0
Approximate name matching
...evenshtein distance as implemented in agrep is a useful solution for some of these cases; I was wondering if there is something that covers more cases. For this particular application, I am not concerned with issues such as variant latinizations/transliterations (e.g. Tsung-Dao Lee ~ T.D. Lee ~ Li Zhengdao; Ghaddafi ~ Qaddhaffi), but of course if someone handles that as well.... Thanks, -s [[alternative HTML version deleted]]