Archive for August, 2009

I guess you are using rcov too to check that all your code was active in your tests at least once. Well, then, here are some bad news:

rcov code coverage only checks whether or not a line was executed, meaning any code from that source line. And this usually trips on

do_something if some_condition?

because what [...]


In the ever ongoing fight against spam there is one really wonderful weapon: greylisting. For those that don’t know how it works: whenever an email server sends an email for the first time, the receiving mail server rejects the email with a temporary error. The idea being that a legimitate server resends the email after [...]


Just found out that mongrel_rails restart does NOT work, when the original mongrel was started with the -c option. Yuk!
Well, this is not entirely true. It works if the -c parameter contains an absolute path, or refers “to itself”:
-c ../current works like a charm, and in fact updates the current directory to whereever current [...]