My fork of raul's translate_routes, refactored the code a bit, works only with rails 3, has a passing test suite