Monthly Archives: March 2012

Why ruby predicate methods should return true or false and not something truthy or falsy

A rather long but interesting discussion on why ruby predicate methods should return true or false and not something truthy or falsy just because the language allows it: Rails pull request: request.xhr? now returns boolean as expected, rather than nil … Continue reading

Posted in Ruby | Leave a comment