Double slashes in URL and rails route system

In my Rails application two URL such as http://myurl/foo/bar http://myurl/foo//bar Are processed the same way. It's pretty smart from Rails to ignore the empty attributes contained between slashes...