Usernames with periods

Rather than eliminate periods from usernames, this will enable them by adding constraints to params[:username] in the user routes. For example, this allows the username: jim.jones
Interesting. I'm slightly baffled as to how this works - care to explain?