« October 2007 | Main | January 2008 »

November 06, 2007

Stripper

Listen to this articleListen to this article

Yet another ridiculously simple Rails plugin, Stripper removes leading and trailing blanks from attribute values.

Leading and trailing spaces on attribute values can be a problem. They're almost never wanted nor intended. In fact, oracle actually treats empty strings as NULL. That's not to say we necessarily think that the database should be messing with our data mind you but it does show that at least someone agrees with us.